@rhcp/cli
A command line interface for SPAship!
Last updated 7 months ago by mwcz .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @rhcp/cli 
SYNC missed versions from official npm registry.

@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

Current Tags

  • 0.3.2                                ...           latest (7 months ago)

3 Versions

  • 0.3.2                                ...           7 months ago
  • 0.3.1                                ...           7 months ago
  • 0.2.0                                ...           7 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (7)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |