Skip to content

Commit

Permalink
Tighten down access/admin cmd parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
ipmb committed Jan 11, 2022
1 parent ac31386 commit 51e5927
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/access.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ func updateAllowedUsers(sess *session.Session, stack *cloudformation.Stack, user
var accessCmd = &cobra.Command{
Use: "access",
Short: "list users with access to the app",
Args: cobra.NoArgs,
DisableFlagsInUseLine: true,
Run: func(cmd *cobra.Command, args []string) {
startSpinner()
Expand Down
1 change: 1 addition & 0 deletions cmd/admins.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ var adminsCmd = &cobra.Command{
Use: "admins",
Short: "list the administrators for an accouunt",
Long: "*Requires admin permissions.*",
Args: cobra.NoArgs,
DisableFlagsInUseLine: true,
Run: func(cmd *cobra.Command, args []string) {
startSpinner()
Expand Down

0 comments on commit 51e5927

Please sign in to comment.