Skip to content

Commit

Permalink
Allow passing client-id as a flag on qs download
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket committed Mar 17, 2021
1 parent 1ef8cde commit 3a4f9e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cli/quickstarts.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func downloadQuickstart(cli *cli) *cobra.Command {
prepareInteractivity(cmd)
},
RunE: func(cmd *cobra.Command, args []string) error {
if !shouldPrompt(cmd, "client-id") {
if !canPrompt(cmd) {
return errors.New("This command can only be run on interactive mode")
}

Expand Down

0 comments on commit 3a4f9e5

Please sign in to comment.