Synopsis
Bash
Zsh
If shell completion is not already enabled in your environment,you will need to enable it. You can execute the following once:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Generate completion script
kosli completion [bash|zsh|fish|powershell]
$ source <(kosli completion bash)
$ kosli completion bash > /etc/bash_completion.d/kosli
$ kosli completion bash > $(brew --prefix)/etc/bash_completion.d/kosli
$ echo "autoload -U compinit; compinit" >> ~/.zshrc
$ kosli completion zsh > "${fpath[1]}/_kosli"
$ kosli completion fish | source
$ kosli completion fish > ~/.config/fish/completions/kosli.fish
PS> kosli completion powershell | Out-String | Invoke-Expression
PS> kosli completion powershell > kosli.ps1
| Flag | Description |
|---|---|
| -h, —help | help for completion |
| Flag | Description |
|---|---|
| -a, —api-token string | The Kosli API token. |
| -c, —config-file string | [optional] The Kosli config file path. (default “kosli”) |
| —debug | [optional] Print debug logs to stdout. A boolean flag docs (default false) |
| -H, —host string | [defaulted] The Kosli endpoint. (default “https://app.kosli.com”) |
| —http-proxy string | [optional] The HTTP proxy URL including protocol and port number. e.g. ‘http://proxy-server-ip:proxy-port’ |
| -r, —max-api-retries int | [defaulted] How many times should API calls be retried when the API host is not reachable. (default 3) |
| —org string | The Kosli organization. |
Was this page helpful?