aspen-cli
v0.1.2
Published
Aspen Cloud CLI
Downloads
13
Readme
aspen-cli
Aspen Cloud CLI
Usage
$ npm install -g aspen-cli
$ aspen COMMAND
running command...
$ aspen (-v|--version|version)
aspen-cli/0.1.1 darwin-x64 node-v12.3.0
$ aspen --help [COMMAND]
USAGE
$ aspen COMMAND
...
Commands
aspen build [FILE]
USAGE
$ aspen build [FILE]
OPTIONS
-h, --help show CLI help
-o, --out=out Desired output directory.
EXAMPLE
$ aspen build
Successfully built project!
See code: src/commands/build.ts
aspen dev
USAGE
$ aspen dev
OPTIONS
-h, --help show CLI help
-p, --port=port [default: 3333]
--source=source [default: src] Desired output directory.
EXAMPLE
$ aspen dev
Started dev server at http://localhost:3333
See code: src/commands/dev.ts
aspen help [COMMAND]
USAGE
$ aspen help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
aspen init
USAGE
$ aspen init
OPTIONS
-h, --help show CLI help
-n, --name=name Name of your project and directory.
--template=template Template to bootstrap your projects with
EXAMPLE
$ aspen init --template
Started dev server at http://localhost:3333!
See code: src/commands/init.ts
aspen open [URL]
USAGE
$ aspen open [URL]
OPTIONS
-h, --help show CLI help
EXAMPLE
$ aspen open https://code.aspen.cloud/project/2sdfak3
Successfully fetched project.
Run "aspen dev" to start development server for the current project.
See code: src/commands/open.ts
aspen share
USAGE
$ aspen share
OPTIONS
-h, --help show CLI help
EXAMPLE
$ aspen share
You code is now shareable at https://code.example.com/project/9fad438
See code: src/commands/share.ts