The glance v2 commands need to be called as:
glance -os-image-api-version 2 CMD
Implement logic for this and enhance output.
Closes-Bug: #1367430
Change-Id: Ibc81d49494a203c9c8f469a2a0f93e4c1786af7e
* highlight client version (<literal>VERSION</literal>)
* use "ceilometer meter-list" instead of "ceilometer meter-list command"
as title for subcommands
Change-Id: I4ef841df4122af25eab7c7efae97a1ef87d39057
This removes the list of ironic subcommands. Ironic now has a bash-completion
subcommand, and that will be used instead, to generate the list of subcommands.
Change-Id: I5adcbc8f755f6031ddc122205203ccfcedcf7a15
Closes-Bug: #1367333
Some of the output help from *-manage CLIs (eg. trove-manage) have
whitespace at the end of the line.
This causes the gate-openstack-manuals-tox-checkniceness test to fail
on the generated .xml files.
Trailing white-space is now stripped off by the tool before writing the
.xml file.
Change-Id: I94aa3a02f7bbe2e88beb510551a2aff76ed24f8a
Closes-Bug: #1342988
Support for the *-manage commands was added to commands.py. Two new
options were added as well, --all-api and --all-manage.
--all-api generates files for all API commands
--all-manage generates files for all manage commands
--all generates files for all commands, API and manage
At present, only trove-manage is supported for *-manage commands.
As an aside, the Swift CLI help command is different from most other
CLI help, and as it is the same as the *-manage help it was changed to
use the same help syntax.
Change-Id: I851f39a405f91216257a5965a6ce5c01d1889851
Closes-Bug: #1338806
The current code aborts with a traceback if the command meant to be
documented is missing. This patch makes the program handle that case
more gracefully.
Change-Id: Id767bcf5731339d219b6b05af27fbe7722881591
If no arguments are given, print the whole help text. Since the list of
supported commands is hard-coded, provide that list in the help text.
Change-Id: Icc6a606b435b02cec151cb606e4ef94754b1c53d
Fix some more warnings from pylint.
Move check_output into common.py and use this instead of local copy.
Change-Id: Ifc2079e8d4302d313cfe438d11e4601482637764
Remove some warnings noticed by pylint.
There're still a lot of warnings, this is just an iterative improvement.
Change-Id: Iafecf55176f230b91353ecd5b5014ba749056f89
* E129 visually indented line with same indent as next logical line
* E129 visually indented line with same indent as next logical line
* E265 block comment should start with '# '
* E713 test for membership should be 'not in'
Change-Id: I8488f7ad4399153d99325806fe87919c0b4cda7e
Change way on how the screens are generated so that we really
have </screen> on the closing line.
Also, update swift usage line so that it is not inside a screen but in a
normal para.
Add new option --output-directory for defining the directory where the
files will be written to.
Change-Id: Ie5d039ad673290720993586bd137c51183afa822
Implement some suggestions from Summer (see
https://review.openstack.org/#/c/73476)
and enhance.
Fix parsing of options, shown in output of "cinder --metadata".
Change-Id: I3a330dbdad0439c2785d6da141eadc63c550848e
Since these sections are not needed for the appendices anymore, we
can use chapters for the command reference. This patch changes
the tool to write chapters.
Change-Id: Ibbb2334120bc40b1c147432c9a089186c484a4fa
Thanks to Diane for a great proposal!
Also fixes autogenerate_config_docs/common.py to pass pep8 check.
Closes-Bug: #1274699
Change-Id: Ic7b9cacc99a8bdf39c7a0f7e429d9f538370f048
Call "os_doc_tools/commands.py" nova to generate a file
section_cli_nova_commands.xml with the command line options.
Allows generation of all supported clients with --all command.
The tool gets installed as: openstack-auto-commands
blueprint os-user-doc
Change-Id: Ie4b200818bd585d3fce0b27f0639ad03069b3b7b