An open API service indexing awesome lists of open source software.

https://github.com/dream-num/cli

Command-line tool for quickly creating univer plugins.
https://github.com/dream-num/cli

cli template univer

Last synced: 9 months ago
JSON representation

Command-line tool for quickly creating univer plugins.

Awesome Lists containing this project

README

          

# @univerjs/create-cli

[![npm version](https://img.shields.io/npm/v/@univerjs/create-cli)](https://npmjs.org/package/@univerjs/create-cli)

> Command-line tool for quickly playing with [Univer](https://github.com/dream-num/univer).

## Features

- **Plugin Quickstart:** Swiftly create a new Univer plugin with ease.
- **Custom UMD Package:** Tailor your own UMD package with customizable options

See [Univer docs](https://univer.work/en-us/guides/extend/write-a-plugin/) for more information.

## Usage

Run the following command and follow the prompts to create a plugin:

```sh
# npm
npm create @univerjs/cli@latest

# pnpm
pnpm create @univerjs/cli@latest
```

### Options

#### **-l, --locale \**

Special locale. Available options are `zh-CN` and `en-US`.

#### **-h, --help**

Display help for command.

## Development

```sh
pnpm i

pnpm dev
```

test, create `filter` plugin

```sh
node dist/index.js
```