New 🌊 wave for @helm

Commit 5fa89c32

5fa89c32c59eMerged

Dmitriy Zhilyaev <[email protected]> · 2 years ago · 5 files · ~5 modified

Description

feat: flags categories

Details

Commit
5fa89c32c59e
Parent
df526b4cbb7a

pkg/action/diff.gomodifiedView file

@@ -66,6 +66,7 @@
6666 Name: "strip-trailing-cr",
6767 Usage: "strip trailing carriage return on input",
6868 Value: false,
69+ Category: "DIFF",
6970 EnvVars: []string{"HELMWAVE_DIFF_STRIP_TRAILING_CR"},
7071 Destination: &d.StripTrailingCR,
7172 },
@@ -73,6 +74,7 @@
7374 Name: "find-renames",
7475 Usage: "enable rename detection if set to any value greater than 0.",
7576 Value: 0,
77+ Category: "DIFF",
7678 EnvVars: []string{"HELMWAVE_DIFF_FIND_RENAMES"},
7779 Destination: &d.findRenamesHelper,
7880 },
@@ -80,6 +82,7 @@
8082 Name: "suppress",
8183 Usage: "allows suppression of the values listed in the diff output (\"Secret\" for example)",
8284 // Value: cli.NewStringSlice("Secret"),
85+ Category: "DIFF",
8386 EnvVars: []string{"HELMWAVE_DIFF_SUPPRESS"},
8487 Destination: &d.kindSuppressHelper,
8588 },