feat(cli): add help subcommand to show usage information
This commit is contained in:
@@ -535,6 +535,11 @@ async function main() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (subcommand === "help") {
|
||||||
|
showHelp();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (subcommand === "commit") {
|
if (subcommand === "commit") {
|
||||||
const autoMode = args.includes("--auto") || args.includes("-a");
|
const autoMode = args.includes("--auto") || args.includes("-a");
|
||||||
const dryRun = args.includes("--dry-run") || args.includes("-d");
|
const dryRun = args.includes("--dry-run") || args.includes("-d");
|
||||||
|
|||||||
Reference in New Issue
Block a user