Skip to content

basalt / cli/src / memoryIo

Function: memoryIo() ​

> memoryIo(options?): CommandIo & object

Defined in: cli/src/io.ts:44

In-memory IO for tests. answers feeds confirm() in order (defaults to yes once the queue is drained), so a test can drive an interactive command.

Parameters ​

options? ​

answers? ​

boolean[]

Returns ​

CommandIo & object

Released under the MIT License.