Module Ketrew_command_line (.ml)

module Ketrew_command_line: sig .. end
Command line interface to the engine.

val run_main : ?argv:string array ->
?override_configuration:Ketrew_configuration.t ->
?additional_commands:((unit, string) Ketrew_unix_io.Deferred_result.t
Cmdliner.Term.t * Cmdliner.Term.info)
list ->
unit -> [ `Never_returns ]
The “main” function for the application, it will exit n with n = 0 if succeed or n > 0 if an error occurs.