Skip to content

PromptSessionOptions ​

Injectable host for a standalone interaction. No host is opened implicitly.

Signatures ​

ts
interface PromptSessionOptions {}

Members ​

Properties ​

prompter ​

Engine also used for schema-bound prompts in a command invocation.

ts
prompter?: PromptEngine;

write ​

Validation feedback writer; CLI sessions use stderr.

ts
write?: WriteFn;

See Also ​

Released under the MIT License.