summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorRui Chen <chenrui.momo@gmail.com>2016-02-25 15:28:53 +0800
committerRui Chen <chenrui.momo@gmail.com>2016-02-26 15:20:44 +0800
commitb733ecf3ddc06ee1d75f570dddc4d81f71a8d1bf (patch)
treea7e8437a04c194eeae65b0ccad869866f8bf9731 /doc/source/command-objects
parent277c16c8b74efc258c02b73ffff1c6d4fb616d0f (diff)
downloadpython-openstackclient-b733ecf3ddc06ee1d75f570dddc4d81f71a8d1bf.tar.gz
Add missing command/configuration object
Add missing 'command' and 'configuration' object into command object list, add command, module, host commands describe in command-objects, and add 'mask' and 'unmask' options in configuration command details, fix some format issues by the way. Change-Id: Iea80c7b1e413e02e49b9090b9d3cb9c59aab4c38
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/command.rst17
-rw-r--r--doc/source/command-objects/configuration.rst9
-rw-r--r--doc/source/command-objects/host.rst37
-rw-r--r--doc/source/command-objects/module.rst22
4 files changed, 85 insertions, 0 deletions
diff --git a/doc/source/command-objects/command.rst b/doc/source/command-objects/command.rst
new file mode 100644
index 00000000..ac4f8514
--- /dev/null
+++ b/doc/source/command-objects/command.rst
@@ -0,0 +1,17 @@
+=======
+command
+=======
+
+Internal
+
+Installed commands in the OSC process.
+
+command list
+------------
+
+List recognized commands by group
+
+.. program:: command list
+.. code:: bash
+
+ os command list
diff --git a/doc/source/command-objects/configuration.rst b/doc/source/command-objects/configuration.rst
index 0ee8bd63..7bf054c0 100644
--- a/doc/source/command-objects/configuration.rst
+++ b/doc/source/command-objects/configuration.rst
@@ -16,3 +16,12 @@ show different configurations.
.. code:: bash
os configuration show
+ [--mask | --unmask]
+
+.. option:: --mask
+
+ Attempt to mask passwords (default)
+
+.. option:: --unmask
+
+ Show password in clear text
diff --git a/doc/source/command-objects/host.rst b/doc/source/command-objects/host.rst
new file mode 100644
index 00000000..680efcc2
--- /dev/null
+++ b/doc/source/command-objects/host.rst
@@ -0,0 +1,37 @@
+====
+host
+====
+
+Compute v2
+
+The physical computer running a hypervisor.
+
+host list
+---------
+
+List all hosts
+
+.. program:: host list
+.. code:: bash
+
+ os host list
+ [--zone <availability-zone>]
+
+.. option:: --zone <availability-zone>
+
+ Only return hosts in the availability zone
+
+host show
+---------
+
+Display host details
+
+.. program:: host show
+.. code:: bash
+
+ os host show
+ <host>
+
+.. describe:: <host>
+
+ Name of host
diff --git a/doc/source/command-objects/module.rst b/doc/source/command-objects/module.rst
new file mode 100644
index 00000000..c3bc1372
--- /dev/null
+++ b/doc/source/command-objects/module.rst
@@ -0,0 +1,22 @@
+======
+module
+======
+
+Internal
+
+Installed Python modules in the OSC process.
+
+module list
+-----------
+
+List module versions
+
+.. program:: module list
+.. code:: bash
+
+ os module list
+ [--all]
+
+.. option:: --all
+
+ Show all modules that have version information