docs: add Angular CLI autocompletion doc#23146
Merged
Merged
Conversation
15 tasks
5 tasks
alan-agius4
previously approved these changes
May 17, 2022
Member
|
@dgp1130, just shared a link with Bob and will forward to our editor as well. |
TMDavisGoogle
suggested changes
May 17, 2022
TMDavisGoogle
left a comment
There was a problem hiding this comment.
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
Collaborator
Author
|
@TMDavisGoogle, thanks! Applied all your suggestions. |
dgp1130
added a commit
to dgp1130/angular
that referenced
this pull request
May 20, 2022
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.
alxhub
pushed a commit
to angular/angular
that referenced
this pull request
May 23, 2022
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
alxhub
pushed a commit
to angular/angular
that referenced
this pull request
May 23, 2022
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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~/.bashrcfile.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.gifneeds 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