Cmdlang_climate_err_runner
An opinionated runner for cmdlang parsers using climate as a backend.
This module provides a default runner that wraps cmdlang-to-climate
and runs the command under a Err.protect
block.
This furnishes a standard way to run cmdlang commands, assuming you are using Err
.
It is opinionated and adds a few dependencies to your project, such as Logs
and Fmt
.
val run :
?exn_handler:(exn -> Pplumbing_err.Err.t option) ->
unit Cmdlang.Command.t ->
name:string ->
version:string ->
unit