Skip to content

HansDahle/fusion-cli

 
 

Repository files navigation

Fusion CLI

A cli for creating, starting, building, deploying and publishing Fusion apps and tiles

oclif Version Downloads/week License

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 92.8%
  • JavaScript 6.9%
  • Other 0.3%