Platypus completion
platypus completion
Generate completion script
Synopsis
To load completions:
Bash:
| $ source <(platypus completion bash)
# To load completions for each session, execute once:
# Linux:
$ platypus completion bash > /etc/bash_completion.d/platypus
# macOS:
$ platypus completion bash > $(brew --prefix)/etc/bash_completion.d/platypus
|
Zsh:
| # If shell completion is not already enabled in your environment,
# you will need to enable it. You can execute the following once:
$ echo "autoload -U compinit; compinit" >> ~/.zshrc
# To load completions for each session, execute once:
$ platypus completion zsh > "${fpath[1]}/_platypus"
# You will need to start a new shell for this setup to take effect.
|
fish:
| $ platypus completion fish | source
# To load completions for each session, execute once:
$ platypus completion fish > ~/.config/fish/completions/platypus.fish
|
PowerShell:
| PS> platypus completion powershell | Out-String | Invoke-Expression
# To load completions for every new session, run:
PS> platypus completion powershell > platypus.ps1
# and source this file from your PowerShell profile.
|
| platypus completion [bash|zsh|fish|powershell]
|
Options
| -h, --help help for completion
|
SEE ALSO
- platypus - Platypus Programming Language for Observability Data Pipeline
Auto generated by spf13/cobra on 15-Dec-2022