0.3.2 • Published 5 years ago

@rhcp/cli v0.3.2

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

@spaship/cli

A command line interface for SPAship.

oclif Version Downloads/week License

Usage

$ npm install -g @rhcp/cli
$ spaship COMMAND
running command...
$ spaship (-v|--version|version)
@rhcp/cli/0.3.2 linux-x64 node-v11.14.0
$ spaship --help [COMMAND]
USAGE
  $ spaship COMMAND
...

Commands

spaship deploy ARCHIVE

deploy to a SPAship host

USAGE
  $ spaship deploy ARCHIVE

ARGUMENTS
  ARCHIVE  SPA archive file

OPTIONS
  -r, --ref=ref  [default: undefined] a version tag, commit hash, or branch to identify this release

DESCRIPTION
  Send an archive containing a SPA to a SPAship host for deployment.  Supports .tar.gz/.tgz, .zip, and .tar.bz2.

See code: src/commands/deploy.js

spaship help [COMMAND]

display help for spaship

USAGE
  $ spaship help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

spaship init

Initialize a SPAship config file for your app.

USAGE
  $ spaship init

OPTIONS
  -n, --name=name    (required) a human-friendly title for your app
  -p, --path=path    (required) the URL path for your app under the SPAship domain. ex: /my/app
  -s, --[no-]single  route all non-asset requests to index.html
  --overwrite        overwrite existing spaship.yaml

DESCRIPTION
  Without arguments, init will ask you a few questions and generate a spaship.yaml config file.  The answers can also be 
  passed in as CLI options.

See code: src/commands/init.js