Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--dry-run doesn't seem to work #2

Closed
echarrod opened this issue Aug 21, 2024 · 2 comments
Closed

--dry-run doesn't seem to work #2

echarrod opened this issue Aug 21, 2024 · 2 comments

Comments

@echarrod
Copy link

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 🤔

@alexellis
Copy link
Owner

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)

@alexellis
Copy link
Owner

/lock: resolved

@derek derek bot locked and limited conversation to collaborators Aug 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants