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",
|
||||
"name": "Debug Migration",
|
||||
"runtimeExecutable": "yarn",
|
||||
"runtimeArgs": ["run", "--inspect-brk", "nocobase", "migrator", "up"],
|
||||
"runtimeArgs": ["run", "--inspect-brk", "nocobase", "upgrade"],
|
||||
"skipFiles": ["<node_internals>/**"],
|
||||
"console": "integratedTerminal",
|
||||
"internalConsoleOptions": "neverOpen"
|
||||
|
@ -30,10 +30,10 @@ module.exports = (cli) => {
|
||||
cli
|
||||
.command('dev')
|
||||
.option('-p, --port [port]')
|
||||
.option('--client')
|
||||
.option('--server')
|
||||
.option('-c, --client')
|
||||
.option('-s, --server')
|
||||
.option('--db-sync')
|
||||
.option('--inspect [port]')
|
||||
.option('-i, --inspect [port]')
|
||||
.allowUnknownOption()
|
||||
.action(async (opts) => {
|
||||
let subprocess;
|
||||
|
Loading…
x
Reference in New Issue
Block a user