We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c15190a commit 0b557d1Copy full SHA for 0b557d1
src/arguments/ArgumentBase.ts
@@ -44,6 +44,8 @@ export abstract class ArgumentBase<TName extends keyof CliArguments> {
44
45
if (val === null || (typeof val === "string" && !val)) {
46
val = chalk.italic("empty") as CliArguments[TName];
47
+ } else if (typeof value === "boolean") {
48
+ val = (!!value ? "Yes" : "No") as CliArguments[TName];
49
}
50
51
console.log(`${chalk.green("?")} ${this.promptMessage} ${chalk.cyan(val)}`);
0 commit comments