Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

batchsign & batchstat support output to file #403

Merged
merged 15 commits into from
Nov 1, 2023
Prev Previous commit
Next Next commit
change batchstat & batchsign help
  • Loading branch information
YangSen-qn committed Oct 26, 2023
commit 2aa2d3c02f5d150a2e7399b80d7aec36c3085624
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ src/test/
src/.qshell
marker.go
marker_test.go
build.sh
build_local.sh

# Folders
_obj
Expand Down
6 changes: 4 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ package cmd

import (
"fmt"
"os"

"github.com/spf13/cobra"

"github.com/qiniu/qshell/v2/docs"
"github.com/qiniu/qshell/v2/iqshell"
"github.com/qiniu/qshell/v2/iqshell/common/config"
"github.com/qiniu/qshell/v2/iqshell/common/data"
"github.com/qiniu/qshell/v2/iqshell/common/version"
"github.com/spf13/cobra"
"os"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion cmd/rsbatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ func setBatchCmdOverwriteFlags(cmd *cobra.Command, info *batch.Info) {
_ = cmd.Flags().MarkShorthandDeprecated("overwrite", "deprecated and use --overwrite instead")
}
func setBatchCmdResultExportFileFlags(cmd *cobra.Command, info *batch.Info) {
cmd.Flags().StringVarP(&info.ResultExportFilePath, "outfile", "o", "", "specifies the file path where the result list is saved")
cmd.Flags().StringVarP(&info.ResultExportFilePath, "outfile", "o", "", "specifies the file path where the results is saved")
}

func init() {
Expand Down
Loading