We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe2bdae commit 17c7c34Copy full SHA for 17c7c34
cmd/root.go
@@ -34,13 +34,10 @@ var rootConfig *config.Root
34
var rootCmd = &cobra.Command{
35
Use: "modctl",
36
Short: "A command line tool for managing artifact bundled based on the Model Format Specification",
37
- Args: cobra.ExactArgs(1),
+ Args: cobra.MaximumNArgs(1),
38
DisableAutoGenTag: true,
39
SilenceUsage: true,
40
FParseErrWhitelist: cobra.FParseErrWhitelist{UnknownFlags: true},
41
- RunE: func(cmd *cobra.Command, args []string) error {
42
- return nil
43
- },
44
}
45
46
// Execute adds all child commands to the root command and sets flags appropriately.
0 commit comments