summaryrefslogtreecommitdiff
path: root/doc/source/cli/command-objects/console-url.rst
diff options
context:
space:
mode:
authorEric Fried <openstack@fried.cc>2019-11-04 16:02:31 -0600
committerEric Fried <openstack@fried.cc>2019-11-05 07:09:05 -0600
commitc6266b5ab22b911ae7e0ca5077d0c04a23dabca9 (patch)
tree8e2f4ff670b4b272184ecc877cd9838b5ad4873b /doc/source/cli/command-objects/console-url.rst
parentda56b8f4cf15cc5a77249b680dd0c4d05137be9a (diff)
downloadpython-openstackclient-c6266b5ab22b911ae7e0ca5077d0c04a23dabca9.tar.gz
compute: autogenerate docs
$namespace = openstack.compute.v2 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. Many of these were already being generated. Some were missing a few sub-subcommands, so those are added. Change-Id: I1aa4b2655bafd2f6a5d83b658742f65d180eb128
Diffstat (limited to 'doc/source/cli/command-objects/console-url.rst')
-rw-r--r--doc/source/cli/command-objects/console-url.rst42
1 files changed, 2 insertions, 40 deletions
diff --git a/doc/source/cli/command-objects/console-url.rst b/doc/source/cli/command-objects/console-url.rst
index 8a5807b6..001ccc56 100644
--- a/doc/source/cli/command-objects/console-url.rst
+++ b/doc/source/cli/command-objects/console-url.rst
@@ -6,43 +6,5 @@ Server remote console URL
Compute v2
-console url show
-----------------
-
-Show server's remote console URL
-
-.. program:: console url show
-.. code:: bash
-
- openstack console url show
- [--novnc | --xvpvnc | --spice]
- [--rdp | --serial | --mks]
- <server>
-
-.. option:: --novnc
-
- Show noVNC console URL (default)
-
-.. option:: --xvpvnc
-
- Show xvpvnc console URL
-
-.. option:: --spice
-
- Show SPICE console URL
-
-.. option:: --rdp
-
- Show RDP console URL
-
-.. option:: --serial
-
- Show serial console URL
-
-.. option:: --mks
-
- Show WebMKS console URL
-
-.. describe:: <server>
-
- Server to show URL (name or ID)
+.. autoprogram-cliff:: openstack.compute.v2
+ :command: console url *