17 lines
391 B
Markdown
17 lines
391 B
Markdown
|
|
# 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 completion`
|
||
|
|
|
||
|
|
- Generate an autocompletion script for `bash` or `zsh`:
|
||
|
|
|
||
|
|
`ng completion script`
|
||
|
|
|
||
|
|
- Source the autocompletion script in the current session:
|
||
|
|
|
||
|
|
`source <(ng completion script)`
|