nocobase/packages/samples/command/README.md

21 lines
228 B
Markdown
Raw Normal View History

# 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
```