Add dual-mode self-update and multi-target binary build
This commit is contained in:
1 parent
85ca31f4ad
commit
c86ee6a235
4 files changed
+207
-19
No files matched your search
+4
-2
@@ -25,7 +25,7 @@ import { handleUpdateCommand } from "./commands/update.js";
|
||||
import { handleUsersCommand } from "./commands/users.js";
|
||||
import { handleWebhookCommand } from "./commands/webhook.js";
|
||||
import { selectCorp } from "./helpers.js";
|
||||
import { parseArgs, stringOption } from "./parser.js";
|
||||
import { booleanOption, parseArgs, stringOption } from "./parser.js";
|
||||
import {
|
||||
formatConsoleOutput,
|
||||
joinOutput,
|
||||
@@ -162,7 +162,9 @@ async function dispatch(argv: string[], runtime: CliRuntime) {
|
||||
}
|
||||
|
||||
if (area === "update") {
|
||||
await handleUpdateCommand(runtime);
|
||||
await handleUpdateCommand(runtime, {
|
||||
checkOnly: booleanOption(args.options.check) ?? booleanOption(args.options["check-only"])
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user