MCPcopy
hub / github.com/certbot/certbot / config_help

Function config_help

certbot/src/certbot/_internal/cli/cli_utils.py:54–58  ·  view source on GitHub ↗

Extract the help message for a `configuration.NamespaceConfig` property docstring.

(name: str, hidden: bool = False)

Source from the content-addressed store, hash-verified

52
53
54def config_help(name: str, hidden: bool = False) -> Optional[str]:
55 """Extract the help message for a `configuration.NamespaceConfig` property docstring."""
56 if hidden:
57 return argparse.SUPPRESS
58 return inspect.getdoc(getattr(configuration.NamespaceConfig, name))
59
60
61class HelpfulArgumentGroup:

Callers 2

_paths_parserFunction · 0.90
prepare_and_parse_argsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected