greenjs
GreenJS CLI
Usage
$ npm install -g greenjs
$ greenjs COMMAND
running command...
$ greenjs (--version)
greenjs/2.0.9 linux-x64 node-v16.13.2
$ greenjs --help [COMMAND]
USAGE
$ greenjs COMMAND
...
Commands
greenjs build
Make a production build of the project
USAGE
$ greenjs build [-f <value>]
FLAGS
-f, --from=<value> Whom is saying hello
DESCRIPTION
Make a production build of the project
EXAMPLES
$ greenjs build
Source has been written to the dist/ folder!
See code: dist/commands/build.ts
greenjs help [COMMAND]
Display help for greenjs.
USAGE
$ greenjs help [COMMAND] [-n]
ARGUMENTS
COMMAND Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for greenjs.
See code: @oclif/plugin-help
greenjs start
Start a development server for the project
USAGE
$ greenjs start [-h <value>] [-p <value>] [-u <value>]
FLAGS
-h, --host=<value> Which address to listen to
-p, --port=<value> Which port to listen to
-u, --upstream-addr=<value> Where to forward upstream requests
DESCRIPTION
Start a development server for the project
EXAMPLES
$ greenjs start
Pre-bundling dependencies:
react-dom
@greenio/head
@greenio/router
react/jsx-dev-runtime
(this will be run only when your dependencies or config have changed)
> Local: http://localhost:3000/
> Network: use `--host` to expose
See code: dist/commands/start.ts