Module Flexmasa.Console

Print messages, and prompt user input from the terminal.

type t = {
  1. color : Internal_pervasives.bool;
  2. buffer : Flexmasa.Internal_pervasives.Buffer.t;
  3. channel : Lwt_io.output_channel;
  4. with_timestamp : Internal_pervasives.bool;
  5. formatter : Stdlib.Format.formatter;
}
val pp : Stdlib.Format.formatter -> t -> Internal_pervasives.unit
val cli_term : Internal_pervasives.unit -> t Cmdliner.Term.t

Cmdliner.Term.t which configures the console interaction (e.g. the "--color" option).

module Prompt : sig ... end

Create interactive prompts.

Display the results of a command if it fails (see Process_result.t).