chore(command): fix command and add shortcut (#5817)

This commit is contained in:
Junyi
2024-12-07 14:41:37 +08:00
committed by GitHub
parent 4fa23e17ef
commit 223abab1b7
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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"
+3 -3
View File
@@ -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;