snrg

Synergy Framework CLI

Usage no npm install needed!

<script type="module">
  import snrg from 'https://cdn.skypack.dev/snrg';
</script>

README

snrg

Synergy Framework CLI

oclif Version Downloads/week License

Usage

$ npm install -g snrg
$ snrg COMMAND
running command...
$ snrg (-v|--version|version)
snrg/0.1.0 win32-x64 node-v12.8.0
$ snrg --help [COMMAND]
USAGE
  $ snrg COMMAND
...

Commands

snrg add:component [COMPONENTNAME]

create a new Synergy component

USAGE
  $ snrg add:component [COMPONENTNAME]

OPTIONS
  -f, --force  overwrite existing files
  -h, --help   show CLI help

EXAMPLE
  $ snrg add component my-component

See code: src\commands\add\component.ts

snrg add:view [VIEWNAME]

create a new Synergy view

USAGE
  $ snrg add:view [VIEWNAME]

OPTIONS
  -f, --force  overwrite existing files
  -h, --help   show CLI help

EXAMPLE
  $ snrg add view my-view

See code: src\commands\add\view.ts

snrg create [FILE]

Creates a new Synergy framework project

USAGE
  $ snrg create [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to print

EXAMPLE
  $ snrg create {MyProject}

See code: src\commands\create.ts

snrg help [COMMAND]

display help for snrg

USAGE
  $ snrg help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help