fix(cli): prevent boolean flags from swallowing positional args and unify aipro arg parsing

This commit is contained in:
gitea committed 2026-09-29 23:36:18 +08:00
1 parent d0af46b445
commit c60d49fb8c
4 files changed
+117 -25

No files matched your search

+1
View File
@@ -5,6 +5,7 @@ export interface CliParsedArgs {
area?: string;
action?: string;
args: string[];
positional?: string[];
options: Record<string, string | boolean | number>;
raw: string[];
}