diff --git a/cmd/kosli/snapshotK8S.go b/cmd/kosli/snapshotK8S.go index 76ca389c2..192fe0225 100644 --- a/cmd/kosli/snapshotK8S.go +++ b/cmd/kosli/snapshotK8S.go @@ -45,7 +45,7 @@ kosli snapshot k8s yourEnvironmentName \ --org yourOrgName # report what is running in a cluster using kubeconfig at a custom path: -kosli environment report k8s yourEnvironmentName \ +kosli snapshot k8s yourEnvironmentName \ --kubeconfig /path/to/kube/config \ --api-token yourAPIToken \ --org yourOrgName diff --git a/docs.kosli.com/content/faq/_index.md b/docs.kosli.com/content/faq/_index.md index c0421e7e4..ec36b9b94 100644 --- a/docs.kosli.com/content/faq/_index.md +++ b/docs.kosli.com/content/faq/_index.md @@ -113,7 +113,7 @@ API-TOKEN = "123456abcdef" When calling Kosli command you can skip the file extension. For example, to list environments with `org` and `api-token` in the configuration file you would run: ``` -$ kosli environment ls --config-file kosli-conf +$ kosli list environments --config-file kosli-conf ``` `--config-file` defaults to `kosli`, so if you name your file `kosli.` and the file is in the same location as where you run Kosli commands from, you can skip the `--config-file` altogether. diff --git a/docs.kosli.com/content/getting_started/install.md b/docs.kosli.com/content/getting_started/install.md index dd2a964b3..e31723724 100644 --- a/docs.kosli.com/content/getting_started/install.md +++ b/docs.kosli.com/content/getting_started/install.md @@ -162,5 +162,5 @@ When using the `--config-file` flag you can skip the file extension. For example to list environments with `org` and `api-token` in the configuration file you would run: ``` -$ kosli environment ls --config-file=kosli-conf +$ kosli list environments --config-file=kosli-conf ```