Skip to content

Commit

Permalink
Add set and get to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
johnramsden committed Jul 4, 2018
1 parent 1418092 commit d7b0208
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 3 deletions.
38 changes: 37 additions & 1 deletion doc/source/commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ The following commands are available
* ``activate`` - Activate a boot environment.
* ``create`` - Create a boot environment.
* ``destroy`` - Destroy a boot environment or snapshot.
* ``get`` - Print boot environment properties.
* ``list`` - List all boot environments.
* ``mount`` - Mount a boot environment temporarily.
* ``rename`` - Rename a boot environment.
* ``set`` - Set boot environment properties.
* ``umount`` - Unmount a boot environment.

Activate
Expand Down Expand Up @@ -76,6 +78,26 @@ Destroy a boot environment or snapshot.
``--help`` Show this message and exit.
=================================== =========================================================

Get
-------

Print boot environment properties.

.. code-block:: shell
zedenv get [OPTIONS] BOOT_ENVIRONMENT
.. table::

===============================================================================================
Option Description
======================== =====================================================================
`-r``, ``--recursive`` Recursively get all zedenv properties from all datasets under ROOT.
``-H``, ``--scripting`` Scripting output.
``-D``, ``--defaults`` Show default settings only.
``--help`` Show this message and exit.
========================== ====================================================================

List
----

Expand All @@ -98,7 +120,6 @@ List all boot environments.
``--help`` Show this message and exit.
=================================== =========================================================


Mount
-----

Expand Down Expand Up @@ -136,8 +157,23 @@ Rename a boot environment.
``--help`` Show this message and exit.
=================================== =========================================================

Set
-------

Set boot environment properties.

.. code-block:: shell
zedenv set [OPTIONS] BOOT_ENVIRONMENT
.. table::

=================================== =========================================================
Option Description
=================================== =========================================================
``-v``, ``--verbose`` Print verbose output.
``--help`` Show this message and exit.
=================================== =========================================================

Umount
------
Expand Down
2 changes: 0 additions & 2 deletions zedenv/plugins/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# __init__.py

__version__ = '0.1.0'

0 comments on commit d7b0208

Please sign in to comment.