@forge/cli-shared
9.5.1-next.59.6.0-next.6
out/ui/ui.d.ts~
out/ui/ui.d.tsModified+2−1
Index: package/out/ui/ui.d.ts
===================================================================
--- package/out/ui/ui.d.ts
+++ package/out/ui/ui.d.ts
@@ -1,10 +1,11 @@
import { Logger } from './logger';
import { ProgressResult } from './command-line-ui';
export interface Prompt {
- confirm(message: string): Promise<boolean>;
+ confirm(message: string, defaultChoice?: boolean): Promise<boolean>;
promptForText(message: string, defaultValue?: string): Promise<string>;
promptForSecret(message: string): Promise<string>;
+ readFromStdin(): string;
promptForList<T extends string>(message: string, choices: T[], config?: {
format?: (choice: T) => string;
}, pageSize?: number): Promise<T>;
promptForFilterableList<T extends string>(message: string, choices: T[], config?: {