module Carcass_cli: sig
.. end
Cmdliner
support for
Carcass
.
%%VERSION%% - homepage
Command lines for setting up the environment
val env : ?docs:string -> unit -> (unit -> Carcass.Env.t) Cmdliner.Term.t
env ()
is a Cmdliner
term that has all the options to setup a
carcass environment. The closure should be called once Logs
has
been setup. The options are documented under the docs
section
(defaults to the default in Cmdliner.Arg.info
).
val env_with_cli_flesh : ?docs:string -> pos:int -> (unit -> Carcass.Env.t) Cmdliner.Term.t
env_with_cli_flesh ~pos
is like
Carcass_cli.env
but also defines flesh as
positional command line arguments starting at
pos
.