mirror of
https://github.com/modelstudioai/cli.git
synced 2026-09-14 19:49:23 +08:00
feat: Deal with text redundancy of flag default values
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
/** Shared --foo <bool> help text; keep wording consistent across commands. */
|
||||
/** Shared --foo <bool> help text; keep wording consistent with actual CLI/request behavior. */
|
||||
|
||||
export const BOOL_FLAG_WATERMARK =
|
||||
"Enable watermark (true/false). Default: true. Omit to use API default.";
|
||||
"Enable watermark (true/false). Omit flag to use CLI default (true).";
|
||||
|
||||
/** CLI sends prompt_extend=true when flag omitted (qwen-image edit, etc.). */
|
||||
export const BOOL_FLAG_PROMPT_EXTEND_CLI_TRUE =
|
||||
"Enable prompt extend (true/false). Default: true. Omit to use API default.";
|
||||
"Enable prompt extend (true/false). Omit flag to use CLI default (true).";
|
||||
|
||||
/** Sync qwen-image defaults on; async models omit the field unless flag is set. */
|
||||
export const BOOL_FLAG_PROMPT_EXTEND_IMAGE_GENERATE =
|
||||
"Enable prompt extend (true/false). Default: true for qwen-image sync. Omit to use API default.";
|
||||
"Enable prompt extend (true/false). Omit flag: true for qwen-image sync; parameter omitted on async models (API default).";
|
||||
|
||||
/** CLI omits prompt_extend in the request when flag is unset (video commands). */
|
||||
export const BOOL_FLAG_PROMPT_EXTEND_API_DEFAULT =
|
||||
"Enable prompt extend (true/false). Default: API default. Omit to use API default.";
|
||||
"Enable prompt extend (true/false). Omit flag to omit the parameter (DashScope default).";
|
||||
|
||||
Reference in New Issue
Block a user