sparkjs-cli

0.1.49 • Public • Published

spark-cli

The CLI provides commands to help developers create Spark App and Upload to the ArcGIS Online.

Features

  • [x] ArcGIS Account (Sign in / out)
  • [x] New Spark App
  • [x] Upload Spark App to ArcGIS Online

Commands

spark-cli <command>

Commands:
  spark-cli signin [portal]         Sign in to your ArcGIS Account.
  spark-cli signout                 Sign out of your ArcGIS Account.
  spark-cli create                     Create new Spark App
  spark-cli upload [path] [output]  Upload Spark App to ArcGIS Online

Options:
  -h, --help     Show help                                                                 [boolean]
  -v, --version  Show version number                                                       [boolean]

Run & development

  • run yarn run dev:watch
  • open the cli root folder in vscode
  • then run commands from the debug panel

How to publish

  • cd root/devtools/packages/cli
  • yarn
  • npm login
  • npm version [major | minor | patch]
  • npm publish

Package Sidebar

Install

npm i sparkjs-cli

Weekly Downloads

0

Version

0.1.49

License

none

Unpacked Size

2.95 MB

Total Files

256

Last publish

Collaborators

  • will188