From da56b8f4cf15cc5a77249b680dd0c4d05137be9a Mon Sep 17 00:00:00 2001 From: Eric Fried Date: Mon, 4 Nov 2019 15:48:27 -0600 Subject: openstack.cli: autogenerate docs $namespace = openstack.cli The subcommand documents for $namespace were hardcoded and thus prone to drift over time. This commit removes the hardcoded content and uses the autoprogram-cliff directive to generate them automatically from the subcommand configuration classes. Change-Id: I1f7e9d0e5748f887dbc35200c3c8b4407da43e0b --- doc/source/cli/command-objects/command.rst | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'doc/source/cli/command-objects/command.rst') diff --git a/doc/source/cli/command-objects/command.rst b/doc/source/cli/command-objects/command.rst index 918fd959..5afc4940 100644 --- a/doc/source/cli/command-objects/command.rst +++ b/doc/source/cli/command-objects/command.rst @@ -6,18 +6,5 @@ Internal Installed commands in the OSC process. -command list ------------- - -List recognized commands by group - -.. program:: command list -.. code:: bash - - openstack command list - [--group ] - -.. option:: --group - - Show commands filtered by a command group, for example: identity, volume, - compute, image, network and other keywords +.. autoprogram-cliff:: openstack.cli + :command: command * -- cgit v1.2.1