mirror of https://github.com/fluxcd/flux2.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.1 KiB
Markdown
53 lines
1.1 KiB
Markdown
## gotk completion powershell
|
|
|
|
Generates powershell completion scripts
|
|
|
|
### Synopsis
|
|
|
|
Generates powershell completion scripts
|
|
|
|
```
|
|
gotk completion powershell [flags]
|
|
```
|
|
|
|
### Examples
|
|
|
|
```
|
|
To load completion run
|
|
|
|
. <(gotk completion powershell)
|
|
|
|
To configure your powershell shell to load completions for each session add to your powershell profile
|
|
|
|
Windows:
|
|
|
|
cd "$env:USERPROFILE\Documents\WindowsPowerShell\Modules"
|
|
gotk completion >> gotk-completion.ps1
|
|
|
|
Linux:
|
|
|
|
cd "${XDG_CONFIG_HOME:-"$HOME/.config/"}/powershell/modules"
|
|
gotk completion >> gotk-completions.ps1
|
|
|
|
```
|
|
|
|
### Options
|
|
|
|
```
|
|
-h, --help help for powershell
|
|
```
|
|
|
|
### Options inherited from parent commands
|
|
|
|
```
|
|
--kubeconfig string path to the kubeconfig file (default "~/.kube/config")
|
|
-n, --namespace string the namespace scope for this operation (default "gotk-system")
|
|
--timeout duration timeout for this operation (default 5m0s)
|
|
--verbose print generated objects
|
|
```
|
|
|
|
### SEE ALSO
|
|
|
|
* [gotk completion](gotk_completion.md) - Generates completion scripts for various shells
|
|
|