mirror of
https://github.com/truecharts/charts.git
synced 2026-07-16 00:54:11 -03:00
feat(clustertool): add some aliasses to commonly mistaken commands
This commit is contained in:
@@ -19,6 +19,7 @@ This tool can, for example, be used as a pre-commit check and will fail with a n
|
||||
var checkcrypt = &cobra.Command{
|
||||
Use: "checkcrypt",
|
||||
Short: "Checks if all files are encrypted correctly in accordance with .sops.yaml",
|
||||
Aliases: []string{"checkencrypt"},
|
||||
Example: "clustertool checkcrypt",
|
||||
Long: checkcyptLongHelp,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
|
||||
@@ -16,6 +16,7 @@ var hrUpgradeLongHelp = strings.TrimSpace(`
|
||||
var hrupgrade = &cobra.Command{
|
||||
Use: "upgrade",
|
||||
Short: "run helm-upgrade using a helm-release file without flux",
|
||||
Aliases: []string{"update", "edit"},
|
||||
Example: "clustertool helmrelease upgrade",
|
||||
Long: hrUpgradeLongHelp,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
|
||||
@@ -47,6 +47,7 @@ Not any contained helm-charts
|
||||
var apply = &cobra.Command{
|
||||
Use: "apply",
|
||||
Short: "apply",
|
||||
Aliases: []string{"apply-config"},
|
||||
Example: "clustertool apply <NodeIP>",
|
||||
Long: applyLongHelp,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
|
||||
Reference in New Issue
Block a user