Cli
Cmdliner
and common definitions for commands.
A --pkg-file
option to specify the package description file to use.
A --dist-name
option to define the package name of the distribution.
A --dist-version
option to define the package version.
A --dist-file
option to define the distribution archive file.
A --dist-uri
option to define the distribution archive URI on the WWW.
setup env
defines a basic setup common to all commands. The setup does, by side effect, set Logs
log verbosity, adjusts colored output and sets the current working directory.
propagate_verbosity_to_pkg_file ()
is a command line fragment that has the option to propagate the current log verbosity to an invocation of the package description.
warn_if_vcs_dirty msg
warns with msg
if the VCS is dirty.
handle_error r
is r
's result or logs r
's error and returns 3
.