![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
spaship-beta
Advanced tools
A command line interface for SPAship.
$ npm install -g spaship-beta
$ spaship COMMAND
running command...
$ spaship (-v|--version|version)
spaship-beta/2.0.0 darwin-x64 node-v14.18.1
$ spaship --help [COMMAND]
USAGE
$ spaship COMMAND
...
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
-b, --builddir=builddir path of your SPAs artifact. Defaults to 'buildDir' if specified in the spaship.yaml.
-d, --dist=dist the URL path for dist folder
-m, --file=file the URL path for .spaship file
DESCRIPTION
Without arguments, init will ask you a few questions and generate a .spaship config file.
EXAMPLES
$ spaship init --file=/home/shranand/Documents/one-platform/packages/home-spa
--dist=/home/shranand/Documents/one-platform/packages/home-spa/dist
$ spaship init --builddir=build
See code: src/commands/init.js
spaship login
Authenticate and Authorize users inorder to deploy SPA
USAGE
$ spaship login
OPTIONS
-s, --server=server orchestrator-base-url it is responsible for loading file from cli
-t, --token=token jwt token for authentication
DESCRIPTION
user access token && server url is saved inside config file(.spashipsessionrc.yaml) .
spaship login command can be copied from web-ui.
EXAMPLES
$ spaship login --token=eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiS
--server=http://dev.api.apps.int.spoke.preprod.us-west-2.aws.paas.redhat.com
Here server refer to api Base-URL && token refer to jwt access token for authorization
See code: src/commands/login.js
spaship pack
pack the distribution folder
USAGE
$ spaship pack
DESCRIPTION
create and save the zip file of distribution folder which is consist of SPA content inside tmp.
EXAMPLE
$ spaship pack
See code: src/commands/pack.js
spaship upload [ZIP]
deploy to a SPAship host
USAGE
$ spaship upload [ZIP]
ARGUMENTS
ZIP An archive (zip) file containing SPA static assets and a .spaship configfile.
DESCRIPTION
Send zip file containing a SPA to a SPAship host for deployment.
EXAMPLES
$ spaship upload your-app-1.0.0.zip #here your-app-1.0.0.zip refer to zip created by pack command
$spaship upload # will prompt to enter your-app-1.0.0.zip
If no your-app-1.0.0.zip is provided it will zip and upload it.
See code: src/commands/upload.js
Tests are written using oclif's testing tools. See oclif's testing documentation for more.
FAQs
A command line interface for SPAship!
The npm package spaship-beta receives a total of 0 weekly downloads. As such, spaship-beta popularity was classified as not popular.
We found that spaship-beta demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.