CLI Utility tool for Angular Development
$ npm install -g @polyrithm/ngen
$ ngen COMMAND
running command...
$ ngen (-v|--version|version)
@polyrithm/ngen/0.0.23 darwin-x64 node-v10.13.0
$ ngen --help [COMMAND]
USAGE
$ ngen COMMAND
...
ngen autocomplete [SHELL]
ngen commands
ngen generate:interceptor [NAME]
ngen generate:resolver [NAME]
ngen help [COMMAND]
ngen is-up [FILE]
ngen is:online [FILE]
ngen make:component [NAME] [ARTIFACT]
ngen make:directive [FILE]
ngen make:filter [NAME]
ngen update [CHANNEL]
display autocomplete installation instructions
USAGE
$ ngen autocomplete [SHELL]
ARGUMENTS
SHELL shell type
OPTIONS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
EXAMPLES
$ ngen autocomplete
$ ngen autocomplete bash
$ ngen autocomplete zsh
$ ngen autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete
list all the commands
USAGE
$ ngen commands
OPTIONS
-h, --help show CLI help
-j, --json output in json format
--hidden also show hidden commands
See code: @oclif/plugin-commands
Generate Angular Interceptor
USAGE
$ ngen generate:interceptor [NAME]
OPTIONS
-h, --help show CLI help
ALIASES
$ ngen gi
$ ngen g:i
See code: src/commands/generate/interceptor.ts
Generate Angular Resolver
USAGE
$ ngen generate:resolver [NAME]
OPTIONS
-a, --all
-h, --help show CLI help
ALIASES
$ ngen gr
$ ngen g:r
See code: src/commands/generate/resolver.ts
display help for ngen
USAGE
$ ngen help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
describe the command here
USAGE
$ ngen is-up [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to print
See code: src/commands/is-up.ts
Check if you are connected to the internet
USAGE
$ ngen is:online [FILE]
OPTIONS
-h, --help show CLI help
See code: src/commands/is/online.ts
Create an AngularJs Component
USAGE
$ ngen make:component [NAME] [ARTIFACT]
OPTIONS
-f, --flat create component without subfolder
-h, --help show CLI help
-m, --module=module name of the module
-n, --name=name name of the component
-o, --open Open the generated file
ALIASES
$ ngen mc
$ ngen m:c
See code: src/commands/make/component.ts
describe the command here
USAGE
$ ngen make:directive [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name of the directive
ALIASES
$ ngen md
$ ngen m:d
See code: src/commands/make/directive.ts
describe the command here
USAGE
$ ngen make:filter [NAME]
OPTIONS
-f, --force
-h, --help show CLI help
-m, --module=module Name of the AngularJs Module
-n, --name=name name of the filter
ALIASES
$ ngen mf
$ ngen m:f
See code: src/commands/make/filter.ts
update the ngen CLI
USAGE
$ ngen update [CHANNEL]
See code: @oclif/plugin-update