Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@listenai/lisa

Package Overview
Dependencies
Maintainers
2
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@listenai/lisa

Lisa 是 Lisa Framework 核心命令行工具,提供模版生成能力以及任务执行命令

  • 2.1.0-beta.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12
increased by100%
Maintainers
2
Weekly downloads
 
Created
Source

@listenai/lisa

Lisa 是 Lisa Framework 核心命令行工具,提供模版生成能力以及任务执行命令

Version Downloads/week License

Usage

$ npm install -g @listenai/lisa
$ lisa COMMAND
running command...
$ lisa (-v|--version|version)
@listenai/lisa/2.1.0-beta.1 linux-x64 node-v12.22.6
$ lisa --help [COMMAND]
USAGE
  $ lisa COMMAND
...

Commands

lisa build

固件开发项目编译打包

USAGE
  $ lisa build

OPTIONS
  -r, --release  打包release包
  --factory      打包factory包

See code: src/commands/build.ts

lisa create [NAME]

创建项目,例lisa create newProject -t @generator/csk

USAGE
  $ lisa create [NAME]

ARGUMENTS
  NAME  项目名称

OPTIONS
  -t, --template=template  生成器模板

See code: src/commands/create.ts

lisa flash [FILEPATH]

烧录程序

USAGE
  $ lisa flash [FILEPATH]

ARGUMENTS
  FILEPATH  烧录的lpk包绝对路径,非必填,默认烧录csk开发项目package后的lpk包

OPTIONS
  -p, --part=part  选择烧录part文件,例:'-p master -p script',默认全部烧录

See code: src/commands/flash.ts

lisa install [PKG]

安装依赖

USAGE
  $ lisa install [PKG]

ARGUMENTS
  PKG  资源包名,例:'@source/csk4002',不填时默认安装lisa项目中的依赖

See code: src/commands/install.ts

lisa login

登录

USAGE
  $ lisa login

See code: src/commands/login.ts

lisa plugins

list installed plugins

USAGE
  $ lisa plugins

OPTIONS
  --core  show core plugins

EXAMPLE
  $ lisa plugins

See code: @oclif/plugin-plugins

lisa plugins:inspect PLUGIN...

displays installation properties of a plugin

USAGE
  $ lisa plugins:inspect PLUGIN...

ARGUMENTS
  PLUGIN  [default: .] plugin to inspect

OPTIONS
  -h, --help     show CLI help
  -v, --verbose

EXAMPLE
  $ lisa plugins:inspect myplugin

See code: @oclif/plugin-plugins

lisa plugins:install PLUGIN...

installs a plugin into the CLI

USAGE
  $ lisa plugins:install PLUGIN...

ARGUMENTS
  PLUGIN  plugin to install

OPTIONS
  -f, --force    yarn install with force flag
  -h, --help     show CLI help
  -v, --verbose

DESCRIPTION
  Can be installed from npm or a git url.

  Installation of a user-installed plugin will override a core plugin.

  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command 
  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in 
  the CLI without the need to patch and update the whole CLI.

ALIASES
  $ lisa plugins:add

EXAMPLES
  $ lisa plugins:install myplugin 
  $ lisa plugins:install https://github.com/someuser/someplugin
  $ lisa plugins:install someuser/someplugin

See code: @oclif/plugin-plugins

links a plugin into the CLI for development

USAGE
  $ lisa plugins:link PLUGIN

ARGUMENTS
  PATH  [default: .] path to plugin

OPTIONS
  -h, --help     show CLI help
  -v, --verbose

DESCRIPTION
  Installation of a linked plugin will override a user-installed or core plugin.

  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' 
  command will override the user-installed or core plugin implementation. This is useful for development work.

EXAMPLE
  $ lisa plugins:link myplugin

See code: @oclif/plugin-plugins

lisa plugins:uninstall PLUGIN...

removes a plugin from the CLI

USAGE
  $ lisa plugins:uninstall PLUGIN...

ARGUMENTS
  PLUGIN  plugin to uninstall

OPTIONS
  -h, --help     show CLI help
  -v, --verbose

ALIASES
  $ lisa plugins:unlink
  $ lisa plugins:remove

See code: @oclif/plugin-plugins

lisa plugins:update

update installed plugins

USAGE
  $ lisa plugins:update

OPTIONS
  -h, --help     show CLI help
  -v, --verbose

See code: @oclif/plugin-plugins

lisa task [ID]

执行tasks,可执行的task输入lisa task -T命令查看

USAGE
  $ lisa task [ID]

ARGUMENTS
  ID  task id

OPTIONS
  -T, --table  表格展示所有可执行的task
  --json       json展示所有可执行的task
  --verbose    日志全量输出

See code: src/commands/task.ts

lisa tools [PUBLISH]

终端工具

USAGE
  $ lisa tools [PUBLISH]

ARGUMENTS
  PUBLISH  启动发布流程

See code: src/commands/tools.ts

lisa uninstall [PKG]

移除依赖

USAGE
  $ lisa uninstall [PKG]

ARGUMENTS
  PKG  资源包名,例:'@alge/general'

See code: src/commands/uninstall.ts

lisa update

更新lisa到最新版本

USAGE
  $ lisa update

See code: src/commands/update.ts

lisa upgrade

更新当前项目依赖

USAGE
  $ lisa upgrade

See code: src/commands/upgrade.ts

Keywords

FAQs

Package last updated on 16 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc