completion
sloptor completion [--install] [--force] <SHELL>Generate a shell completion script.
Options
Section titled “Options”Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
<SHELL> |
Shell to generate completions for [bash, elvish, fish, nu, nushell, powershell, pwsh, zsh] |
| Flag | Description | Aliases |
|---|---|---|
--install |
Write the script where the shell looks for it instead of printing it | |
--force |
With --install, replace a file that was not generated by usage |
Global flags
Section titled “Global flags”| Flag | Description | Aliases |
|---|---|---|
-v, -V, --version |
Print sloptor's version | |
--color <WHEN> |
When to use colour [auto, always, never] (default: auto) | |
-h, --help |
Print help (see more with '--help') |
Examples
Section titled “Examples”sloptor completion zsh --install # write the script where zsh looks for itsloptor completion fish > ~/.config/fish/completions/sloptor.fishsloptor completion powershell | Out-String | Invoke-Expression