Skip to content

Commit

Permalink
renamed email (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricleal-fugue authored Mar 26, 2021
1 parent 2a5fc08 commit b5ff742
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/createGoogleEnvironment.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@ func NewCreateGoogleEnvironmentCommand() *cobra.Command {
}

cmd.Flags().StringVar(&opts.Name, "name", "", "Environment name")
cmd.Flags().StringVar(&opts.ServiceAccountEmail, "email", "", "Google Service Account Email")
cmd.Flags().StringVar(&opts.ServiceAccountEmail, "service-account-email", "", "Google Service Account Email")
cmd.Flags().StringVar(&opts.ProjectID, "project-id", "", "Google Project ID (if not given, the project_id is extracted from the service acccount email)")

cmd.Flags().Int64Var(&opts.ScanInterval, "scan-interval", 86400, "Scan interval (seconds)")
cmd.Flags().StringSliceVar(&opts.ComplianceFamilies, "compliance-families", []string{}, "Compliance families")

cmd.MarkFlagRequired("name")
cmd.MarkFlagRequired("email")
cmd.MarkFlagRequired("service-account-email")

return cmd
}
Expand Down

0 comments on commit b5ff742

Please sign in to comment.