We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48809df commit bad193aCopy full SHA for bad193a
1 file changed
cmd/aicli/main.go
@@ -42,8 +42,14 @@ var rootCmd = &cobra.Command{
42
cat file.txt | aicli "统计行数"
43
aicli --history
44
aicli --retry 3`,
45
- Version: version,
46
- RunE: run,
+ Version: version,
+ RunE: run,
47
+ Args: cobra.ArbitraryArgs,
48
+ DisableFlagParsing: false,
49
+ FParseErrWhitelist: cobra.FParseErrWhitelist{UnknownFlags: false},
50
+ SilenceUsage: false,
51
+ DisableSuggestions: false,
52
+ SuggestionsMinimumDistance: 2,
53
}
54
55
func run(cmd *cobra.Command, args []string) error {
0 commit comments