-
Notifications
You must be signed in to change notification settings - Fork 12k
docs: add Angular CLI autocompletion doc #23146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@dgp1130, just shared a link with Bob and will forward to our editor as well. |
packages/angular/cli/src/commands/completion/long-description.md
Outdated
Show resolved
Hide resolved
packages/angular/cli/src/commands/completion/long-description.md
Outdated
Show resolved
Hide resolved
packages/angular/cli/src/commands/completion/long-description.md
Outdated
Show resolved
Hide resolved
packages/angular/cli/src/commands/completion/long-description.md
Outdated
Show resolved
Hide resolved
packages/angular/cli/src/commands/completion/long-description.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Light edits (punctuation, rewording for clarity) made.
This explains how to set up autocompletion with the Angular CLI: 1. Via the automated prompt on first execution. 2. Via `ng completion`. 3. Manually via appending `source <(ng completion script)` to the user's `~/.bashrc` file. It also specifically calls out supported and unsupported platforms as well as the requirement for a global install of the Angular CLI.
dfd503a
to
616e344
Compare
@TMDavisGoogle, thanks! Applied all your suggestions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
The CLI autocompletion doc added in angular/angular-cli#23146 includes a demo GIF, but AIO currently has no infrastructure to pull assets like images from the CLI repository, so this demo needs to be stored directly in AIO on this repository.
The CLI autocompletion doc added in angular/angular-cli#23146 includes a demo GIF, but AIO currently has no infrastructure to pull assets like images from the CLI repository, so this demo needs to be stored directly in AIO on this repository. PR Close #45995
The CLI autocompletion doc added in angular/angular-cli#23146 includes a demo GIF, but AIO currently has no infrastructure to pull assets like images from the CLI repository, so this demo needs to be stored directly in AIO on this repository. PR Close #45995
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Spin off from angular/angular#45995.
This explains how to set up autocompletion with the Angular CLI:
ng completion
.source <(ng completion script)
to the user's~/.bashrc
file.It also specifically calls out supported and unsupported platforms as well as the requirement for a global install of the Angular CLI.
The demo
/generated/images/guide/cli/completion.gif
needs to be merged to the angular/angular repository. angular/angular#45995 will submit that image so it can be used from this doc.@mgechev, not sure if you want anyone from the docs team to take an edit pass on this?
/cc @twerske, @alan-agius4