package inquire

  1. Overview
  2. Docs
Create beautiful interactive command line interface in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

inquire-0.3.0.tbz
sha256=c27d8f64c4ccd60ae5c64842b4326d28b04e8c9b4d547cb235062e165b4a6feb
sha512=e64ea7e1811e9010a4fa9faf61fd42ad3f7ec05a65053dbdcae4f0ee776b87f712270aff75d7c44ccc443f677251462f9357e07581b5790cd2a83593884513b5

CHANGES.md.html

0.3.0 - 2021-05-17

Added

  • Improved all prompts prompt to handle escape sequences (e.g. "Ctrl-L" will clear the screen while reading from answer).

  • Improved select to allow selection using indexes.

  • Improved prompts to clear defaults and other tooltip on a valid answer and print the answer after the prompt.

Changed

  • Stripped out lambda-term dependency

  • Removed lwt integration

0.2.1 - 2020-10-04

Changed

  • Vendored lambda-term to fix dependency on Camomile assets

0.2.0 - 2020-05-08

Changed

  • Changed the Make functor to take a module with functions make_prompt, make_error and make_select.

  • Changed raw_list to raw_select.

Added

  • Add select prompt.

  • Support default values for all prompts.

  • Support validate functions for password and input prompts.

0.1.0 - 2020-02-12

Added

  • Add confirm prompt.

  • Add input prompt.

  • Add password prompt.

  • Add raw_list prompt.

OCaml

Innovation. Community. Security.