@lark-project/cli

0.0.10 • Public • Published

@lark-project/cli

Command line tool for lark project plugin development.

Installation & Usage

To install the cli globally you need to run:

npm i -g @lark-project/cli

Then you can use the commands by typing:

lmp stands for Lark Project Management. You can use the "lpm" command to perform various tasks such as init a new project, building and releasing applications, etc.

lpm <cmd> [options]

Commands

lpm init <project-name> [plugin-id] [plugin-secret]

Initialize an Lark Project plugin project

USAGE
  $ lpm init <project-name> [plugin-id] [plugin-secret]

OPTIONS
  -f, --force     overwrite target directory if it exist
  -h, --help      show CLI help

EXAMPLE
  $ lpm init plugin-demo MII_0123456789ABCDEF xxxxxx

lpm config <operate> [key] [value]

Set, get or remove plugin configuration

USAGE
  $ lpm config <operate> [key] [value]

OPTIONS
  -g, --global    operate global configuration
  -h, --help      show CLI help

EXAMPLE
  $ lpm config set pluginID MII_0123456789ABCDEF
  $ lpm config get pluginID
  $ lpm config remove pluginID

lpm start

Start the plugin locally

USAGE
  $ lpm start

OPTIONS
  -h, --help      show CLI help

EXAMPLE
  $ lpm start

lpm build

Build the plugin project as a product file

USAGE
  $ lpm build

OPTIONS
  -h, --help      show CLI help

EXAMPLE
  $ lpm build

lpm release

Build the plugin project as a product file and upload it to the cloud.

USAGE
  $ lpm release

OPTIONS
  -h, --help      show CLI help

EXAMPLE
  $ lpm release

Package Sidebar

Install

npm i @lark-project/cli

Weekly Downloads

9

Version

0.0.10

License

MIT

Unpacked Size

123 kB

Total Files

98

Last publish

Collaborators

  • xuguoyu.litielan
  • liyixian.lym
  • xiaxinyu.bd
  • lihao.luca
  • yukaibo.me