diff --git a/mknodes/info/pyproject.py b/mknodes/info/pyproject.py index 166b2036..6ab8bad0 100644 --- a/mknodes/info/pyproject.py +++ b/mknodes/info/pyproject.py @@ -91,6 +91,11 @@ def docstring_style(self) -> str | None: """Return the style used for docstring.""" return self.mknodes_section.get("docstring-style") + @property + def argparser_path(self) -> str | None: + """Return path to an ArgumentParser, used for documenting the CLI.""" + return self.mknodes_section.get("argparser-path") + @property def line_length(self) -> int | None: # sourcery skip: assign-if-exp, reintroduce-else