mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
484 B
Plaintext
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)`
|