alexellis/kubetrim

`--dry-run` doesn't seem to work

Closed this issue · 2 comments

Hello, llibrary looks cool!
I followed the steps:

curl -sfLS https://get.arkade.dev | sh
arkade get kubetrim

But then when trying:

kubetrim --dry-run

I get:

flag provided but not defined: -dry-run

And additionally I can't see this flag when searching in the repo 🤔

Hi it's --write true/false, see the --help command to learn more.. I'll update the README.

kubetrim (v0.0.1-rc2 d339c6f43c12edc298e8d7fd8bbc44a7420dfb2f) Copyright Alex Ellis (c) 2024

Sponsor Alex on GitHub: https://github.com/sponsors/alexellis

Usage of kubetrim:
kubetrim removes contexts & clusters from your kubeconfig if they are not accessible.

Set the kubeconfig file to use through the KUBECONFIG environment variable
or the default location will be used: ~/.kube/config

Options:
  -write
    	Write changes to the kubeconfig file (default true)

/lock: resolved