feat: add D601 dev backend path

This commit is contained in:
Codex
2026-05-18 10:31:43 +00:00
parent 11b94f3a95
commit 37504a28e8
56 changed files with 10489 additions and 311 deletions
+5 -1
View File
@@ -104,6 +104,10 @@ function boolFlag(args: string[], name: string): boolean {
return args.includes(name);
}
function isHelpArg(value: string | undefined): boolean {
return value === "help" || value === "--help" || value === "-h";
}
function shellQuote(value: string): string {
return `'${value.replace(/'/gu, "'\\''")}'`;
}
@@ -811,7 +815,7 @@ function requireRunId(value: string): string {
export async function runCiCommand(_config: UniDeskConfig, args: string[]): Promise<Record<string, unknown>> {
const [action = "status", nameArg] = args;
if (action === "help" || action === "--help" || action === "-h") return help();
if (isHelpArg(action) || args.slice(1).some(isHelpArg)) return help();
if (action === "install") return install();
if (action === "status") return status();
if (action === "run") {