Interface: CommandIo
Defined in: cli/src/command.ts:4
Output surface — swappable in tests to capture what a command prints.
Methods
confirm()
> confirm(question): Promise<boolean>
Defined in: cli/src/command.ts:9
Ask a yes/no question. Resolves true only on an explicit yes.
Parameters
question
string
Returns
Promise<boolean>
error()
> error(message): void
Defined in: cli/src/command.ts:6
Parameters
message
string
Returns
void
log()
> log(message): void
Defined in: cli/src/command.ts:5
Parameters
message
string
Returns
void
table()
> table(rows): void
Defined in: cli/src/command.ts:7
Parameters
rows
Record<string, unknown>[]
Returns
void