tachybase_todo/packages/samples/command/README.md
Junyi fceebaf50e
Doc: command (#869)
* docs: add command dev doc

* feat: update doc

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-10-01 22:18:26 +08:00

21 lines
228 B
Markdown

# Command sample
## Register
```ts
yarn pm add sample-command
```
## Activate
```bash
yarn pm enable sample-command
```
## Try command
```bash
mkdir -p ./storage/backups
yarn nocobase export -o ./storage/backups users
```