mirror of
https://github.com/dream-num/univer.git
synced 2026-10-31 02:43:44 +08:00
Univer CLI Tool
Usage
Install dependency
npm i -g @univerjs/cli
Create Plugin
Create a Univer plugin named my-plugin from a template
univer-cli create my-plugin
start develop plugin
cd my-plugin
npm i
npm run dev
Custom Build
univer-cli build --include sort comment
API
Create
Command
univer-cli create <plugin> [inner]
- plugin: Required parameters, specify a plugin name, Please use
param-caseformat, such asdata-validation - inner: Optional parameter, use this tag inside the Univer repository. With this flag set, we will put the plugin in the packages directory, otherwise we will create a new plugin in the current directory where the script is executed by default