Skip to content

Commit

Permalink
Rename flags
Browse files Browse the repository at this point in the history
  • Loading branch information
julienduchesne committed Oct 22, 2024
1 parent 90c7e98 commit c6c9826
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/tk/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ func envListCmd() *cli.Command {
Args: args,
}

dummyHelm := cmd.Flags().Bool("dummy-helm", false, "do not run helm within the environments. This speeds up listing if your helm charts do not generate any Tanka environments.")
dummyKustomize := cmd.Flags().Bool("dummy-kustomize", false, "do not run kustomize within the environments. This speeds up listing if kustomize does not generate any Tanka environments.")
skipHelm := cmd.Flags().Bool("skip-helm", false, "do not run helm within the environments. This speeds up listing if your helm charts do not generate any Tanka environments.")
skipKustomize := cmd.Flags().Bool("skip-kustomize", false, "do not run kustomize within the environments. This speeds up listing if kustomize does not generate any Tanka environments.")
useJSON := cmd.Flags().Bool("json", false, "json output")
getLabelSelector := labelSelectorFlag(cmd.Flags())

Expand All @@ -259,8 +259,8 @@ func envListCmd() *cli.Command {
findOpts := tanka.FindOpts{
Selector: getLabelSelector(),
JsonnetOpts: getJsonnetOpts(),
DummyHelm: *dummyHelm,
DummyKustomize: *dummyKustomize,
DummyHelm: *skipHelm,
DummyKustomize: *skipKustomize,
}
envs, err := tanka.FindEnvs(path, findOpts)
if err != nil {
Expand Down

0 comments on commit c6c9826

Please sign in to comment.