feat: add maintenance toggle command
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user