Skip to content

Commit

Permalink
Mark name as a required flag for create azure env
Browse files Browse the repository at this point in the history
  • Loading branch information
curtis-fugue committed Sep 17, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent f089315 commit 7625601
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/createAzureEnvironment.go
Original file line number Diff line number Diff line change
@@ -99,6 +99,7 @@ func NewCreateAzureEnvironmentCommand() *cobra.Command {
cmd.Flags().StringSliceVar(&opts.RemediateResourceGroups, "remediation-resource-groups", []string{}, "Remediation resource groups")
cmd.Flags().StringSliceVar(&opts.SurveyResourceGroups, "survey-resource-groups", nil, "Survey resource groups")

cmd.MarkFlagRequired("name")
cmd.MarkFlagRequired("app")
cmd.MarkFlagRequired("secret")
cmd.MarkFlagRequired("sub")

0 comments on commit 7625601

Please sign in to comment.