This commit is contained in:
2026-09-03 11:28:30 +07:00 Unverified
parent 26c2d0f015
commit 82d0fe3e0d
93 changed files with 19237 additions and 1285 deletions
+5
View File
@@ -11,6 +11,11 @@ async function run() {
wrapCommandErrors(main);
const cli = createMain(main);
const { configPath, rawArgs } = extractConfigArgument(process.argv.slice(2));
const contextFree = new Set(["login", "logout", "whoami"]);
if (rawArgs[0] && contextFree.has(rawArgs[0])) {
await cli({ rawArgs });
return;
}
await provideContext(() => cli({ rawArgs }), configPath);
}