mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-01 18:52:20 +08:00
chore(command): fix command and add shortcut (#5817)
This commit is contained in:
parent
4fa23e17ef
commit
223abab1b7
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@ -78,7 +78,7 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Debug Migration",
|
"name": "Debug Migration",
|
||||||
"runtimeExecutable": "yarn",
|
"runtimeExecutable": "yarn",
|
||||||
"runtimeArgs": ["run", "--inspect-brk", "nocobase", "migrator", "up"],
|
"runtimeArgs": ["run", "--inspect-brk", "nocobase", "upgrade"],
|
||||||
"skipFiles": ["<node_internals>/**"],
|
"skipFiles": ["<node_internals>/**"],
|
||||||
"console": "integratedTerminal",
|
"console": "integratedTerminal",
|
||||||
"internalConsoleOptions": "neverOpen"
|
"internalConsoleOptions": "neverOpen"
|
||||||
|
@ -30,10 +30,10 @@ module.exports = (cli) => {
|
|||||||
cli
|
cli
|
||||||
.command('dev')
|
.command('dev')
|
||||||
.option('-p, --port [port]')
|
.option('-p, --port [port]')
|
||||||
.option('--client')
|
.option('-c, --client')
|
||||||
.option('--server')
|
.option('-s, --server')
|
||||||
.option('--db-sync')
|
.option('--db-sync')
|
||||||
.option('--inspect [port]')
|
.option('-i, --inspect [port]')
|
||||||
.allowUnknownOption()
|
.allowUnknownOption()
|
||||||
.action(async (opts) => {
|
.action(async (opts) => {
|
||||||
let subprocess;
|
let subprocess;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user