Module: Doing::PromptChoose
- Included in:
- Prompt
- Defined in:
- lib/doing/prompt/choose.rb
Overview
Methods for creating interactive menus of options and items
Instance Method Summary collapse
-
#choose_from(options, prompt: 'Make a selection: ', multiple: false, sorted: true, fzf_args: []) ⇒ String
Generate a menu of options and allow user selection.
-
#choose_from_items(items, **opt) ⇒ Object
Create an interactive menu to select from a set of Items.