Skip to content

Commit

Permalink
Added an additional alias to the switch command (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxAnderson95 committed Dec 25, 2023
1 parent 5db7213 commit fe0bac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/switch.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func (sc *SwitchCommand) Init() {
Long: `
Switch Kube Context interactively
`,
Aliases: []string{"s"},
Aliases: []string{"s", "sw"},
Args: func(cmd *cobra.Command, args []string) error {
if len(args) > 1 {
return errors.New("no support for more than 1 parameter")
Expand Down

0 comments on commit fe0bac5

Please sign in to comment.