@polyrithm/ngen
v0.0.23
Published
CLI Utility tool for Angular and AngularJS Development
Downloads
11
Readme
ngen
CLI Utility tool for Angular Development
Usage
$ npm install -g @polyrithm/ngen
$ ngen COMMAND
running command...
$ ngen (-v|--version|version)
@polyrithm/ngen/0.0.22 darwin-x64 node-v8.12.0
$ ngen --help [COMMAND]
USAGE
$ ngen COMMAND
...
Commands
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]
ngen autocomplete [SHELL]
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
ngen commands
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
ngen generate:interceptor [NAME]
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
ngen generate:resolver [NAME]
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
ngen help [COMMAND]
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
ngen is-up [FILE]
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
ngen is:online [FILE]
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
ngen make:component [NAME] [ARTIFACT]
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
ngen make:directive [FILE]
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
ngen make:filter [NAME]
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
ngen update [CHANNEL]
update the ngen CLI
USAGE
$ ngen update [CHANNEL]
See code: @oclif/plugin-update