package inquire

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Create a new implementation of Inquire to customize the prompts.

Parameters

module M : sig ... end

Signature

val confirm : ?default:bool -> string -> bool Lwt.t
val password : ?validate:(string -> (string, string) Lwt_result.t) -> string -> string Lwt.t
val input : ?validate:(string -> (string, string) Lwt_result.t) -> ?default:string -> string -> string Lwt.t
val raw_select : ?default:StdLabels.String.t -> options:StdLabels.String.t list -> string -> StdLabels.String.t Lwt.t
val select : ?default:StdLabels.String.t -> options:StdLabels.String.t list -> string -> StdLabels.String.t Lwt.t
OCaml

Innovation. Community. Security.