From 890a192157c1db1f788a7ab0f5a3efaf4c401349 Mon Sep 17 00:00:00 2001 From: Mplan Date: Tue, 9 Jun 2026 18:52:03 +0800 Subject: [PATCH] feat(cli): add help subcommand to show usage information --- index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.ts b/index.ts index 5a6151a..e6ba1e6 100644 --- a/index.ts +++ b/index.ts @@ -535,6 +535,11 @@ async function main() { return; } + if (subcommand === "help") { + showHelp(); + return; + } + if (subcommand === "commit") { const autoMode = args.includes("--auto") || args.includes("-a"); const dryRun = args.includes("--dry-run") || args.includes("-d");