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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

2
.vscode/launch.json vendored
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"

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;