Environment variables can be used to set option values:-
@click.option(
"--debug/--no-debug",
default=False,
envvar="PRODUCT_DEBUG",
help="Output debugging logging",
)
However these are not exposed in the CLI documentation.
It has to be admitted that Click's help text also does not expose these at all, so manual addition of this mapping to the docstrings may be needed anyhow.
Many thanks for this plugin for mkdocs - much appreciated
Environment variables can be used to set option values:-
However these are not exposed in the CLI documentation.
It has to be admitted that Click's help text also does not expose these at all, so manual addition of this mapping to the docstrings may be needed anyhow.
Many thanks for this plugin for mkdocs - much appreciated