@ende/cli/unstable-prompt-select

ende add jsr:@ende/cli

Version 2026.10.15 on JSR.

Exports

  • PromptEntry — Value for promptSelect. If an object, it must have a title and a value, else it can just be a string.
  • PromptEntryWithValue — A PromptEntry with an underlying value.
  • promptSelect — Shows the given message and waits for the user's input. Returns the user's selected value as string.
  • PromptSelectOptions — Options for promptSelect.