Created
November 24, 2017 14:28
-
-
Save viktorbenei/50eaec1bb882b1e9280d3481ab58e437 to your computer and use it in GitHub Desktop.
Bitrise CLI base fish shell completion for "run" and "version" commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.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