package cmdliner
Declarative definition of command line interfaces for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
cmdliner-1.3.0.tbz
sha512=4c46bc334444ff772637deae2f5ba03645d7a1b7db523470a1246acfce79b971c764d964cbb02388639b3161b279700d9ade95da550446fb32aa4849c8a8f283
doc/cmdliner/Cmdliner/Cmd/Env/index.html
Module Cmd.Env
Environment variable and their information.
Environment variables
Environment variable information
type info = Term.env_info
The type for environment variable information.
info ~docs ~doc var
describes an environment variable var
such that:
doc
is the man page information of the environment variable, defaults to"undocumented"
.docs
is the title of the man page section in which the environment variable will be listed, it defaults toCmdliner.Manpage.s_environment
.deprecated
, if specified the environment is deprecated and the string is a message output on standard error when the environment variable gets used to lookup the default value of an argument.
In doc
the documentation markup language can be used with following variables:
$(env)
, the value ofvar
.- The variables mentioned in
info
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page