completion
Generate shell completions for your terminal. This is used to enable auto-complete when invoking commands.
latency-lingo-cli completion [bash|zsh|fish|powershell]
Usage
Bash:
source <(latency-lingo-cli completion bash)
# To load completions for each session, execute once:
# Linux:
latency-lingo-cli completion bash > /etc/bash_completion.d/latency-lingo-cli
# macOS:
latency-lingo-cli completion bash > $(brew --prefix)/etc/bash_completion.d/latency-lingo-cli
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:
latency-lingo-cli completion zsh > "${fpath[1]}/_latency-lingo-cli"
# You will need to start a new shell for this setup to take effect.
fish:
latency-lingo-cli completion fish | source
# To load completions for each session, execute once:
latency-lingo-cli completion fish > ~/.config/fish/completions/latency-lingo-cli.fish
PowerShell:
latency-lingo-cli completion powershell | Out-String | Invoke-Expression
# To load completions for every new session, run:
latency-lingo-cli completion powershell > latency-lingo-cli.ps1
# and source this file from your PowerShell profile.