ng-completion
sets up shell autocompletion for Angular CLI commands
TLDR
Set up completion by appending a line to your shell rc file
$ ng completion
Print the completion script$ ng completion script
Enable completion for the current shell session only$ source <(ng completion script)
SYNOPSIS
ng completion [script]
DESCRIPTION
ng completion sets up shell autocompletion for Angular CLI commands. It appends source <(ng completion script) to the first existing rc file (~/.bashrc, ~/.bashprofile or ~/.profile for bash; ~/.zshrc, ~/.zshprofile or ~/.profile for zsh). Restart the terminal or source the file to activate it.The CLI also offers to set this up automatically the first time a command is run in a supported shell.
PARAMETERS
script
Output a bash and zsh real-time type-ahead autocompletion script.
CAVEATS
Only bash and zsh are supported. Completion requires a global install (npm install -g @angular/cli) so that ng is on the PATH.
