0.0.4 • Published 4 months ago

@gjsify/cli v0.0.4

Weekly downloads
5
License
-
Repository
-
Last release
4 months ago

@gjsify/cli

Command line tool for gjsify

oclif Version Downloads/week License

Usage

$ npm install -g @gjsify/cli
$ gjsify COMMAND
running command...
$ gjsify (-v|--version|version)
@gjsify/cli/0.0.1 linux-x64 node-v12.14.1
$ gjsify --help [COMMAND]
USAGE
  $ gjsify COMMAND
...

Commands

gjsify build [FILE]

describe the command here

USAGE
  $ gjsify build [FILE]

OPTIONS
  -b, --beautify                       Beautify build output
  -h, --help                           show CLI help
  -m, --minimize                       Minimize build output
  -o, --outputFilename=outputFilename  [default: index.js] File name of the output bundle
  -p, --outputPath=outputPath          [default: ./dist] Output destination path

EXAMPLE
  $ gjsify build ./src/hello.ts

See code: src/commands/build.ts

gjsify help [COMMAND]

display help for gjsify

USAGE
  $ gjsify help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

CommonJS compatibility

Many npm modules that don't do IO will just work after being browserified. Others take more work.

When you require() any of these modules, you will get a gjs-specific shim: