Skip to content

InteractiveResult

A record mapping flag names to prompt configs or falsy values.

  • PromptConfig — show this prompt for the flag
  • false | undefined | null | 0 | '' — skip prompting for this flag

Only flag names that need prompting should have truthy values. Flags not mentioned are handled by their per-flag .prompt() config.

Signatures

ts
type InteractiveResult = Readonly<Record<string, PromptConfig | false | undefined | null | 0 | "">>;

See Also

Released under the MIT License.