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

https://github.com/lvce-editor/command

Command
https://github.com/lvce-editor/command

Last synced: about 2 months ago
JSON representation

Command

Awesome Lists containing this project

README

        

# Command

Command module.

## Install

```sh
npm install @lvce-editor/command
```

## Usage

```js
import * as Command from '@lvce-editor/command'

const fn = () => {
return 'abc'
}

Command.register('command-name', fn)

await Command.execute('command-name')
```

## Gitpod

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/lvce-editor/command)