mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 09:58:47 -07:00
ng: refactor README
This commit is contained in:
parent
79fff1ee49
commit
2c0315dba4
@ -1,37 +1,10 @@
|
|||||||
## NG Plugin
|
# ng plugin
|
||||||
|
|
||||||
This [ng plugin](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/ng)
|
This plugin adds autocompletion support for [Angular's CLI](https://github.com/angular/angular-cli)
|
||||||
adds completion support for Angular's CLI (named ng).
|
(named `ng`).
|
||||||
|
|
||||||
Ng is hosted on [ng home](https://github.com/catull/angular-cli)
|
To use it, add `ng` to the plugins array of your zshrc file:
|
||||||
|
|
||||||
It is used to generate Angular 2 app "stubs", build those apps, configure them,
|
|
||||||
test them, lint them etc.
|
|
||||||
|
|
||||||
Ahem, "stubs" is not what Angular engineers refer to the items ng can generate
|
|
||||||
for you.
|
|
||||||
|
|
||||||
"Stubs" can be any one of:
|
|
||||||
- class
|
|
||||||
- component
|
|
||||||
- directive
|
|
||||||
- enum
|
|
||||||
- module
|
|
||||||
- pipe
|
|
||||||
- route
|
|
||||||
- service
|
|
||||||
|
|
||||||
At the moment, `ng completion` creates a very rough completion for Zsh and
|
|
||||||
Bash.
|
|
||||||
|
|
||||||
It is missing most of the options and a few arguments.
|
|
||||||
In future, this plugin may be shortened to simply being
|
|
||||||
|
|
||||||
```zsh
|
```zsh
|
||||||
eval `ng completion`
|
plugins=(... ng)
|
||||||
```
|
```
|
||||||
|
|
||||||
There is hope this materialises in the 21st century.
|
|
||||||
|
|
||||||
### CONTRIBUTOR
|
|
||||||
- Carlo Dapor ([catull](https://github.com/catull))
|
|
||||||
|
Loading…
Reference in New Issue
Block a user