refactor: simplify cli commands

This commit is contained in:
Peter Steinberger committed 2026-01-08 07:16:12 +01:00
1 parent 79ac0af719
commit 19595a8f99
33 files changed
+359 -1427

No files matched your search

+1 -2
View File
@@ -42,8 +42,7 @@ export function resolveBonjourCliPath(
const argv = opts.argv ?? process.argv;
const argvPath = argv[1];
if (argvPath && isFile(argvPath)) {
const base = path.basename(argvPath);
if (!base.includes("gateway-daemon")) return argvPath;
return argvPath;
}
const cwd = opts.cwd ?? process.cwd();