Skip to content

Commit

Permalink
Merge pull request #328 from authzed/context-remove-completion
Browse files Browse the repository at this point in the history
context: add autocomplete for remove
  • Loading branch information
josephschorr authored Jan 17, 2024
2 parents 3d85249 + 376eb90 commit 94c8811
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions internal/cmd/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ var contextSetCmd = &cobra.Command{
}

var contextRemoveCmd = &cobra.Command{
Use: "remove <system>",
Short: "remove a context",
Args: cobra.ExactArgs(1),
RunE: contextRemoveCmdFunc,
Use: "remove <system>",
Short: "remove a context",
Args: cobra.ExactArgs(1),
RunE: contextRemoveCmdFunc,
ValidArgsFunction: ContextGet,
}

var contextUseCmd = &cobra.Command{
Expand Down

0 comments on commit 94c8811

Please sign in to comment.