1.1.2 • Published 4 years ago

stitch-cli-tool v1.1.2

Weekly downloads
58
License
ISC
Repository
github
Last release
4 years ago

Stitch CLI

A CLI (command line client) to create and publish Stitch apps for the Stitch micro-frontend framework.

Todo

  • Add the host option to publish
  • Add option to create in current directory, instead of making a directory each time.
  • Update "create" to just "update" provided stitch.yml instead of creating one.
  • Add version when creating from a template.

Install

npm install stitch-cli-tool -g

Commands

Create

Create a new project from a template. Click here for a list of templates.

$ stitch create --template vuejs-starter --project your-project-name

Config

Setup your CLI config to be able to publish to the stitch servers.

$ stitch config

Publish

Publish your Stitch app to the server.

$ stitch publish --profile=server-profile-name [optional, defaults to default]

or

# Use this pubolish option for automated deployments.
$ stitch publish --host=[server-url] --acccess-key=[server-access-key]

List

List all active apps

$ stitch list --server name-of-your-server-config-entry --profile server-profile-name [optional, defaults to default]

Remove

Remove app by app id.

$ stitch remove --app id-of-your-app --profile server-profile-name [optional, defaults to default]

Help

See options for each command.

$ stitch --help

# example help for a specific command
$ stitch create --help