feat(commands): localize remaining command help

This commit is contained in:
若麒
2026-08-14 15:54:38 +08:00
parent f67ca55ec6
commit 23f1ab7fd4
90 changed files with 1552 additions and 599 deletions
+2 -1
View File
@@ -266,7 +266,8 @@ export interface Command<F extends FlagsDef = FlagsDef> {
usageArgs?: string;
/** Example arg strings (without the `<bin> <path>` prefix). */
exampleArgs?: string[];
notes?: string[];
/** Additional help paragraphs rendered below flags. */
notes?: LocalizedText[];
flags?: F;
/**
* Cross-flag validation, after parsing and before run. Return an error message