This repository has been archived by the owner on Jun 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: knrt10 <kautilya@kinvolk.io>
- Loading branch information
Showing
4 changed files
with
115 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
## lokoctl completion | ||
|
||
Generate autocompletion script for the specified shell | ||
|
||
### Synopsis | ||
|
||
|
||
Generate autocompletion script for lokoctl for the specified shell (bash or zsh). | ||
|
||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for completion | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--kubeconfig-file string Path to a kubeconfig file. If empty, the following precedence order is used: | ||
1. Cluster asset dir when a lokocfg file is present in the current directory. | ||
2. KUBECONFIG environment variable. | ||
3. ~/.kube/config file. | ||
--lokocfg string Path to lokocfg directory or file (default "./") | ||
--lokocfg-vars string Path to lokocfg.vars file (default "./lokocfg.vars") | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [lokoctl](lokoctl.md) - Manage Lokomotive clusters | ||
* [lokoctl completion bash](lokoctl_completion_bash.md) - Generate autocompletion script for bash | ||
* [lokoctl completion zsh](lokoctl_completion_zsh.md) - Generate autocompletion script for zsh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
## lokoctl completion bash | ||
|
||
Generate autocompletion script for bash | ||
|
||
### Synopsis | ||
|
||
|
||
Generate the autocompletion script for lokoctl for the bash shell. | ||
|
||
To load completions in your current shell session: | ||
`$ source <(lokoctl completion bash)` | ||
|
||
To load completions for every new session, execute once: | ||
Linux: `$ lokoctl completion bash > /etc/bash_completion.d/lokoctl && exec $SHELL` | ||
MacOS: `$ lokoctl completion bash > /usr/local/etc/bash_completion.d/lokoctl && exec $SHELL` | ||
|
||
``` | ||
lokoctl completion bash | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for bash | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--kubeconfig-file string Path to a kubeconfig file. If empty, the following precedence order is used: | ||
1. Cluster asset dir when a lokocfg file is present in the current directory. | ||
2. KUBECONFIG environment variable. | ||
3. ~/.kube/config file. | ||
--lokocfg string Path to lokocfg directory or file (default "./") | ||
--lokocfg-vars string Path to lokocfg.vars file (default "./lokocfg.vars") | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [lokoctl completion](lokoctl_completion.md) - Generate autocompletion script for the specified shell | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
## lokoctl completion zsh | ||
|
||
Generate autocompletion script for zsh | ||
|
||
### Synopsis | ||
|
||
|
||
Generate the autocompletion script for lokoctl for the zsh shell. | ||
|
||
To load completions in your current shell session: | ||
`$ source <(lokoctl completion zsh)` | ||
|
||
To load completions for every new session, execute once: | ||
`$ lokoctl completion zsh > "${fpath[1]}/_lokoctl" && exec $SHELL` | ||
|
||
``` | ||
lokoctl completion zsh | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for zsh | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--kubeconfig-file string Path to a kubeconfig file. If empty, the following precedence order is used: | ||
1. Cluster asset dir when a lokocfg file is present in the current directory. | ||
2. KUBECONFIG environment variable. | ||
3. ~/.kube/config file. | ||
--lokocfg string Path to lokocfg directory or file (default "./") | ||
--lokocfg-vars string Path to lokocfg.vars file (default "./lokocfg.vars") | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [lokoctl completion](lokoctl_completion.md) - Generate autocompletion script for the specified shell | ||
|