Skip to content

Commit

Permalink
Add exact validator to workspace user add/remove (#199)
Browse files Browse the repository at this point in the history
Add exact validator to workspace user add/remove
  • Loading branch information
andriisoldatenko authored and schnie committed Mar 18, 2019
1 parent 14b17fb commit 2b75cab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/workspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ var (
Use: "add EMAIL",
Short: "Add a user to a workspace",
Long: "Add a user to a workspace",
Args: cobra.ExactArgs(1),
RunE: workspaceUserAdd,
}

Expand All @@ -84,6 +85,7 @@ var (
Aliases: []string{"rm"},
Short: "Remove a user from a workspace",
Long: "Remove a user from a workspace",
Args: cobra.ExactArgs(1),
RunE: workspaceUserRm,
}
)
Expand Down

0 comments on commit 2b75cab

Please sign in to comment.