Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Promtps the user for confirmation. confirm ~question ~yes ~default_answer
uses the message formatting function question
to format and log a message with the app level and wait for a yes or no answer from the user. Returns true
for yes. Defaults to default_answer
if the user just presses enter. If yes
, then it just skips the prompt and returns true
. E.g. confirm ~question:(fun l -> l "Do you want some %a?" Fmt.(styled `Bold
string) "coffee")