A command line interface for SPAship.
$ npm install -g @spaship/cli
$ spaship COMMAND
running command...
$ spaship (-v|--version|version)
@spaship/cli/0.0.12 linux-x64 node-v11.14.0
$ spaship --help [COMMAND]
USAGE
$ spaship COMMAND
...
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
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
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