2.1.6 • Published 1 year ago
@canvas-pro/cli v2.1.6
@canvas/cli
cli is a simple, fast, and fun package for develop canvas components command line tool. The goal is to enable developers to write fast and adjustable canvas components in an expressive way.
Installation
install @canvas-pro/cli with npm
``` bash
npm install @canvas-pro/cli -g
```
Usage
canvas
is @canvas-pro/cli on the command line.
canvas <command>
You can use canvas
,allowed values are as follows:
Command | Type | Description |
---|---|---|
init | string | create canvas components project if you include multiple components, it is recommended to use. |
create | string | create a canvas component template project |
start | string | server current directory a canvas component or many of components, start <name> server this component |
pack | string | building current directory a component or of components pack <name> build this component |
gui | string | open an actionable interface |