From af5b02f8d35b19155a09f5be7b9a755f2cc3e312 Mon Sep 17 00:00:00 2001 From: Alex Ellis Date: Wed, 21 Aug 2024 11:46:02 +0100 Subject: [PATCH] Update README.md Closes #2 --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 623791f..3568d46 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,18 @@ default kind-2 ``` +Try out kubetrim without writing changes to the kubeconfig file: + +```bash +$ kubetrim --write=false +``` + +Use a different kubeconfig file: + +```bash +$ KUBECONFIG=$HOME/.kube/config.bak kubetrim +``` + What if the Internet is unavailable, and all clusters report as unavailable? ```bash @@ -80,18 +92,6 @@ No contexts are working, the Internet may be down, use --force to delete all con $ kubetrim --force ``` -Try out kubetrim without writing changes to the kubeconfig file: - -```bash -$ kubetrim --dry-run -``` - -Use a different kubeconfig file: - -```bash -$ KUBECONFIG=$HOME/.kube/config.bak kubetrim -``` - ## Installation Getting `kubetrim` with arkade: