Autocomplete commands and flags with the press of tab to avoid typos and for ease of use.

Shell Setup

This script depends on the ‘bash-completion’ package. If it is not installed already, you can install it via your OS’s package manager.

Setup completions for current shell session

To load completions in your current shell session, run:
bash
source <(suprsend completion bash)

Persistent setup for all sessions

Execute once and autocompletion will for apply for all subsequent sessions.
bash

# Linux
suprsend completion bash > /etc/bash_completion.d/suprsend

# macOS
suprsend completion bash > $(brew --prefix)/etc/bash_completion.d/suprsend
You will need to start a new shell for this setup to take effect.
bash
suprsend completion bash

Flags

FlagDescription
--no-descriptionsDisable completion descriptions
-h, --helpShow help for the specific shell completion

Verify your setup

You can load autocompletion by pressing tab on your keyboard
suprsend <TAB>
suprsend workflow <TAB>
suprsend --<TAB>