Files
cheatsheet-tldr/tldr/ng-completion
2026-01-14 00:22:52 +00:00

22 lines
484 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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)`