New 🌊 wave for @helm

Commit ee1eb48b

ee1eb48b8c81Merged

Dmitriy Zhilyaev <[email protected]> · 2 years ago · 14 files · +1 added · ~13 modified

Description

feat: categories CLI actions

Details

Commit
ee1eb48b8c81
Parent
74a248bdc67b

cmd/helmwave/completion.gomodifiedView file

@@ -3,6 +3,7 @@
33 import (
44 "errors"
55 "fmt"
6+ "github.com/helmwave/helmwave/pkg/action"
67
78 "github.com/urfave/cli/v2"
89 )
@@ -72,8 +73,9 @@
7273
7374 func completion() *cli.Command {
7475 return &cli.Command{
75- Name: "completion",
76- Usage: "generate completion script",
76+ Name: "completion",
77+ Category: action.Step_,
78+ Usage: "generate completion script",
7779 Description: `
7880 echo "source <(helmwave completion bash)" >> ~/.bashrc
7981 echo "source <(helmwave completion zsh)" >> ~/.zshrc"