We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2bedecf + 430636c commit 355f9a1Copy full SHA for 355f9a1
1 file changed
cmd/cli/commands/launch.go
@@ -91,7 +91,7 @@ func newLaunchCmd() *cobra.Command {
91
Long: fmt.Sprintf(`Launch an app configured to use Docker Model Runner.
92
93
Supported apps: %s`, strings.Join(supportedApps, ", ")),
94
- Args: cobra.MinimumNArgs(1),
+ Args: requireMinArgs(1, "launch", "APP [-- APP_ARGS...]"),
95
ValidArgs: supportedApps,
96
RunE: func(cmd *cobra.Command, args []string) error {
97
app := strings.ToLower(args[0])
0 commit comments