mirror of
https://github.com/nocobase/nocobase
synced 2024-11-18 00:27:07 +00:00
fceebaf50e
* docs: add command dev doc * feat: update doc Co-authored-by: chenos <chenlinxh@gmail.com>
21 lines
228 B
Markdown
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
|
|
```
|