feat: add maintenance toggle command

This commit is contained in:
2026-09-18 15:21:28 +00:00 Unverified
parent e3df2f4d76
commit dcdacd5c04
12 changed files with 712 additions and 7 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ async function run() {
wrapCommandErrors(main);
const cli = createMain(main);
const { configPath, rawArgs } = extractConfigArgument(process.argv.slice(2));
const contextFree = new Set(["login", "logout", "whoami"]);
const contextFree = new Set(["login", "logout", "whoami", "maintenance"]);
if (rawArgs[0] && contextFree.has(rawArgs[0])) {
await cli({ rawArgs });
return;