[UG] Add filters to the 'fuel2 task list' command
Change-Id: Idab2a7912af7d28f5b79a1aaab4d60f658511fe0 Closes-Bug: #1640224
This commit is contained in:
parent
a14aa9fcbc
commit
0931fcf0a5
|
@ -19,6 +19,8 @@ deployment.
|
||||||
fuel task
|
fuel task
|
||||||
fuel2 task list
|
fuel2 task list
|
||||||
|
|
||||||
|
.. include:: /userdocs/snippets/notes/fuel2-task-list-filters.rst
|
||||||
|
|
||||||
#. Download the deployment information:
|
#. Download the deployment information:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
|
@ -35,6 +35,8 @@ the Fuel web UI (timeline or table view mode) as well as the Fuel CLI.
|
||||||
fuel task
|
fuel task
|
||||||
fuel2 task list
|
fuel2 task list
|
||||||
|
|
||||||
|
.. include:: /userdocs/snippets/notes/fuel2-task-list-filters.rst
|
||||||
|
|
||||||
#. Get the information on deployment tasks running on nodes:
|
#. Get the information on deployment tasks running on nodes:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
By default, the :command:`fuel2 task list` shows all deployment tasks.
|
||||||
|
Although, you can filter the tasks in the command output by:
|
||||||
|
|
||||||
|
* Environment ID:
|
||||||
|
|
||||||
|
.. code-block:: console
|
||||||
|
|
||||||
|
fuel2 task list --env <ENV_ID>
|
||||||
|
|
||||||
|
* Tasks statuses:
|
||||||
|
|
||||||
|
.. code-block:: console
|
||||||
|
|
||||||
|
fuel2 task list --statuses ready
|
||||||
|
|
||||||
|
The available tasks statuses are ``pending``, ``error``,
|
||||||
|
``ready``, and ``running``.
|
||||||
|
|
||||||
|
* Tasks names:
|
||||||
|
|
||||||
|
.. code-block:: console
|
||||||
|
|
||||||
|
fuel2 task list --names <TASK_NAME>
|
Loading…
Reference in New Issue