feat: unify CLI dry-run and write confirmation

This commit is contained in:
gitea committed 2026-09-11 16:53:14 +08:00
1 parent 639aaa9271
commit 45eb83a609
19 files changed
+506 -71

No files matched your search

+3
View File
@@ -27,6 +27,9 @@ const KNOWN_BOOLEAN_FLAGS = new Set([
"yes",
"confirm",
"force-write",
"dry-run",
"dryRun",
"dryrun",
]);
export function parseArgs(rawArgs: string[]): CliParsedArgs {