Skip to content

nivrith/ngem

Repository files navigation

ngen

CLI Utility tool for Angular Development

oclif Version CircleCI Downloads/week License

Usage

$ 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
...

Commands

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