Socket
Book a DemoInstallSign in
Socket

@staticdeploy/cli

Package Overview
Dependencies
Maintainers
3
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@staticdeploy/cli

CLI tool for StaticDeploy

Source
npmnpm
Version
0.7.0
Version published
Weekly downloads
234
134%
Maintainers
3
Weekly downloads
 
Created
Source

@staticdeploy/cli

CLI tool to create and deploy bundles. The tool calls the APIs exposed by StaticDeploy's api-server.

Install

npm i -g @staticdeploy/cli

Use

  • staticdeploy create-bundle: creates a bundle and uploads it to the StaticDeploy server. Options (all required):

    • --apiUrl: URL of the StaticDeploy api-server
    • --apiToken: authentication token for the API
    • --from: path of the directory to create the bundle from
    • --name: name of the bundle
    • --tag: tag of the bundle
    • --description: description of the bundle
  • staticdeploy deploy: deploys a bundle to an entrypoint. Options (all required):

    • --apiUrl: URL of the StaticDeploy api-server
    • --apiToken: authentication token for the API
    • --bundle: name:tag combination of the bundle to deploy
    • --entrypoint: urlMatcher of the entrypoint to deploy to
    • --app: name of the app the entrypoint links to

Options can also be passed as upper-cased, snake-cased, environment variables prefixed by STATICDEPLOY_. Eg:

export STATICDEPLOY_API_URL=...
export STATICDEPLOY_API_TOKEN=...

Contributing

See CONTRIBUTING.md.

FAQs

Package last updated on 02 Jun 2018

Did you know?

Socket

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.

Install

Related posts