snippetbashTip
ng completion — Generate shell autocompletion scripts for the Angular CLI. More information: <https://angular.dev/cl
Viewed 0 times
shellcommandforcliautocompletionng completionscriptsgenerate
Problem
How to use the
ng completion command: Generate shell autocompletion scripts for the Angular CLI. More information: <https://angular.dev/cli/completion>.Solution
ng completion — Generate shell autocompletion scripts for the Angular CLI. More information: <https://angular.dev/cli/completion>.Set up autocompletion interactively for the current shell:
ng completionGenerate an autocompletion script for
bash or zsh:ng completion scriptSource the autocompletion script in the current session:
source <(ng completion script)Code Snippets
Set up autocompletion interactively for the current shell
ng completionGenerate an autocompletion script for `bash` or `zsh`
ng completion scriptSource the autocompletion script in the current session
source <(ng completion script)Context
tldr-pages: common/ng completion
Revisions (0)
No revisions yet.