@cloudstitch/cli
## Install
Last updated 3 years ago by papodaca .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @cloudstitch/cli 
SYNC missed versions from official npm registry.

cloudstitch-cli

Install

npm install -g @cloudstitch/cli

The Cloudstitch CLI provides command line access to Cloudstitch, as well as a web server to facilitate easy development of widgets.

Commands

The following commands can be invoked by typing cloudstitch <command> on the command line.

No login required:

  • pull user/app - Pulls down files to local disk
  • serve - Serves the current directory as a Cloudstitch widget.
  • signup - Helps you create and log into a new Cloudstitch account
  • login - Helps you log into Cloudstitch save your API key to ~/.config/cloudstitch.json
  • use [<folder>] - Provides usage information base of your widget

Login required:

  • clone <user>/<app> [folder] - Clones the user/app on Cloudstitch and does a pull into [folder]. If [folder] is not specificed, creates one named <app>.
  • create - Helps you create a new app based on one of seven base project types.
  • push [filename] - Pushes [filename] (default: all files) to the remote Cloudstitch project.
  • publish [--configure] - Publishes static site to github repository. NOTE: you must complete github authentication on cloutstitch.com before this can be used.

Cloudstitch Package format

Cloudstitch project record information in a cloudstitch.json file stored at the project root.

Available properties:

  • user - The username of the widget instance on Cloudstitch
  • app - The appname of the widget instance on Cloudstitch
  • kind - The type of widget (widget | jekyll, etc.)

Authentication and Configuration

Your command line configuration, including API key, is stored in file called ~/.config/cloudstitch.json.

The format of the config file is:

{
  "ApiKey": "Your API Key"
}

Current Tags

  • 1.2.0                                ...           latest (3 years ago)

17 Versions

  • 1.2.0                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
  • 0.0.9                                ...           3 years ago
  • 0.0.8                                ...           3 years ago
  • 0.0.7                                ...           3 years ago
  • 0.0.6                                ...           3 years ago
  • 0.0.5                                ...           3 years ago
  • 0.0.4                                ...           3 years ago
  • 0.0.3                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 18
Last Day 0
Last Week 17
Last Month 1
Dependencies (14)
Dev Dependencies (9)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |