From f885f0794e77e0a6e8e0bd884dd4ec57890a5ddf Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Mon, 4 Jan 2021 23:06:29 +0100 Subject: Extract CLI parameters from ghdl-ls. --- doc/using/pyGHDL/index.rst | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'doc/using') diff --git a/doc/using/pyGHDL/index.rst b/doc/using/pyGHDL/index.rst index fcedb20d2..ed055957a 100644 --- a/doc/using/pyGHDL/index.rst +++ b/doc/using/pyGHDL/index.rst @@ -39,9 +39,32 @@ this is provided from a ``pyGHDL`` packages with four sub-packages: .. toctree:: - :hidden: ../../pyGHDL/pyGHDL.cli ../../pyGHDL/pyGHDL.dom ../../pyGHDL/pyGHDL.libghdl ../../pyGHDL/pyGHDL.lsp + + +.. _CMDREF: + +Scripts and Applications +######################## + +The pyVHDLParser package comes with an executables registered by pip in the +search path. + +* ``VHDLParser`` is a wrapper for ``pyVHDLParser.CLI.VHDLParser:main``. + + +.. # + This files requires a Python module called 'Frontend-AutoProgram' to be + located in the 'doc' root folder. It expects a variable 'parser' of type + ArgumentParser. + +.. _CMDREF-ghdlls: + +.. autoprogram:: LSP-AutoProgram:parser + :prog: ghdl-ls + :groups: + :label: CmdRef:ghdlls: -- cgit v1.2.3