Skip to content

Commit

Permalink
Fix old commands in docs (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger authored Mar 8, 2024
1 parent c2f4892 commit 8289ddf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/kosli/snapshotK8S.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs.kosli.com/content/faq/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.<yaml|toml|json>` and the file is in the same location as where you run Kosli commands from, you can skip the `--config-file` altogether.
Expand Down
2 changes: 1 addition & 1 deletion docs.kosli.com/content/getting_started/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 8289ddf

Please sign in to comment.