Skip to content

Commit

Permalink
feat: remove filter prefix on subcommand
Browse files Browse the repository at this point in the history
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
  • Loading branch information
matthisholleville committed Mar 31, 2023
1 parent 9ebb7de commit 3e1555b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions cmd/filters/filters.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var FiltersCmd = &cobra.Command{
}

func init() {
FiltersCmd.AddCommand(filterListCmd)
FiltersCmd.AddCommand(filtersAddCmd)
FiltersCmd.AddCommand(filtersRemoveCmd)
FiltersCmd.AddCommand(listCmd)
FiltersCmd.AddCommand(addCmd)
FiltersCmd.AddCommand(removeCmd)
}
2 changes: 1 addition & 1 deletion cmd/filters/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/spf13/cobra"
)

var filterListCmd = &cobra.Command{
var listCmd = &cobra.Command{
Use: "list",
Short: "List available filters",
Long: `The list command displays a list of available filters that can be used to analyze Kubernetes resources.`,
Expand Down
File renamed without changes.

0 comments on commit 3e1555b

Please sign in to comment.