Skip to content

Instantly share code, notes, and snippets.

@davinkevin
Created October 19, 2016 05:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davinkevin/78c2bd67341c356b8e3de3bbb42b027a to your computer and use it in GitHub Desktop.
Save davinkevin/78c2bd67341c356b8e3de3bbb42b027a to your computer and use it in GitHub Desktop.
angular-cli autocomplete
# ng help
complete -f -c ng -n '__fish_use_subcommand' -a help -d 'Outputs the usage instructions for all commands or the provided command.'
# ng version
complete -f -c ng -n '__fish_use_subcommand' -a version -d 'Outputs angular-cli version.'
complete -f -A -c ng -n '__fish_seen_subcommand_from version' -l verbose -d 'verbose (Boolean) (Default: false)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment