INNER CODE UNIT · Python
_add_docs_link
iterative/mlem · mlem/cli/main.py:103
def _add_docs_link(help, cmd_name):
return (
help
if help is None or "Documentation" in help
else f"{help}\n\nDocumentation: <https://mlem.ai/doc/command-reference/{cmd_name}>"
)
class MlemCommand(
MlemMixin,
TyperCommand,
):
def __init__(
self,
name: Optional[str],
section: str = "other",
aliases: List[str] = None,
help: Optional[str] = None,