Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Bitrise CLI base fish shell completion for "run" and "version" commands
# ~/.config/fish/completions/bitrise.fish
# Run
complete -f -c bitrise -n '__fish_use_subcommand' -a run -d 'run specified workflow'
complete -f -c bitrise -n '__fish_seen_subcommand_from run' -a (bitrise workflows --id-only)
# Version
complete -f -c bitrise -n '__fish_use_subcommand' -a version -d 'cli version'
complete -f -c bitrise -n '__fish_seen_subcommand_from version' -s 'f' -l 'full' -d 'print full version'
complete -f -c bitrise -n '__fish_seen_subcommand_from version' -l 'format' -a 'raw json yml' -d 'format of print'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment