feat(cli): add help subcommand to show usage information

This commit is contained in:
2026-06-09 18:52:03 +08:00
parent a4e0b6f747
commit 890a192157
+5
View File
@@ -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");