@equinor/fusion-cli
v3.2.1
Published
A cli for creating, starting, building, deploying and publishing Fusion apps and tiles
Downloads
1,141
Keywords
Readme
Fusion CLI
A cli for creating, starting, building, deploying and publishing Fusion apps and tiles
Usage
$ npm install -g @equinor/fusion-cli
$ fusion COMMAND
running command...
$ fusion (-v|--version|version)
@equinor/fusion-cli/0.0.8 linux-x64 node-v11.1.0
$ fusion --help [COMMAND]
USAGE
$ fusion COMMAND
...
Commands
fusion autocomplete [SHELL]
display autocomplete installation instructions
USAGE
$ fusion autocomplete [SHELL]
ARGUMENTS
SHELL shell type
OPTIONS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
EXAMPLES
$ fusion autocomplete
$ fusion autocomplete bash
$ fusion autocomplete zsh
$ fusion autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete
fusion build-app
Build the app as a ready-to-deply zip bundle
USAGE
$ fusion build-app
OPTIONS
-o, --out=out [default: ./out] Output path
-s, --silent No console output
-z, --[no-]zip Generate zip
See code: src/commands/build-app.ts
fusion create-app
Creates a new fusion app
USAGE
$ fusion create-app
OPTIONS
-N, --shortName=shortName App short name
-d, --description=description App description
-g, --git Initialize git repository
-h, --help show CLI help
-i, --install Install dev dependencies
-k, --key=key Key for app/tile
-n, --name=name Name for app/tile(use quotes for spaces)
See code: src/commands/create-app.ts
fusion help [COMMAND]
display help for fusion
USAGE
$ fusion help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
fusion start-app
Start a fusion app
USAGE
$ fusion start-app
OPTIONS
-P, --production Use production config
-a, --apps=apps Compile one or more fusion apps. E.g. --apps AppKey1 AppKey2 AppKey3
-h, --help show CLI help
-p, --progress Display build progress
See code: src/commands/start-app.ts