Completions

Completions make it a little easier to run specdown, allowing you to press tab and have a half typed command be completed. Completions can be generated in specdown by running the completion command.

If you installed specdown with homebrew, these are already installed

Example

We support assorted shells

Bash

specdown completion bash

To load it run

source <(specdown completion bash)

Zsh

specdown completion zsh

To load it run

source <(specdown completion zsh)

Fish

specdown completion fish

To load it run

specdown completion fish > ~/.config/fish/completions/specdown.fish

PowerShell

specdown completion powershell

To load it run

. <(specdown completion powershell)

Elvish

specdown completion elvish

Command Help

You can display all the options available by using --help on the completion sub-command.

specdown completion --help

Non-Windows

Output completion for a shell of your choice

Usage: specdown completion <SHELL>

Arguments:
  <SHELL>  The shell to generate completions for [possible values: bash, elvish, fig, fish, nushell,
           powershell, zsh]

Options:
  -h, --help  Print help

Windows

specdown-completion 
Output completion for a shell of your choice

Usage: specdown completion <SHELL>

Arguments:
  <SHELL>  The shell to generate completions for [possible values: bash, elvish, fig, fish, nushell,
           powershell, zsh]

Options:
  -h, --help  Print help