@eoapi/cli

1.2.0 • Public • Published

EO CLI

Installion

npm install -g @eoapi/cli

Now, you can use eo xxx command to generate、upload plugin of eoapi.

Generate

eo generate <plugin name>
# or
eo g <plugin name>
# or
eo g <plugin name> [--type] <feature-push | feature-export>

The commad will generate a folder includes base config files, let you could create any features.

Upload

eo upload <plugin package>

It will find and go inside the package directory, and upload the package.json to eopai market. However you need to wait until it is approved to find it in the market.

Debug

eo debug <plugin package>

The command will create a link between eoapi with your extension. It seems like install your extension from the market, but you don't need to upload the extension. We are also planning to support hot-update.

Cli Development

pnpm link --global

or

npm pack
npm i -g eoapi-cli-${version}.tgz

Readme

Keywords

Package Sidebar

Install

npm i @eoapi/cli

Weekly Downloads

0

Version

1.2.0

License

ISC

Unpacked Size

29.7 kB

Total Files

16

Last publish

Collaborators

  • eolink