phrases
This commit is contained in:
parent
28fe83cfb2
commit
b4efbf1d71
1 changed files with 11 additions and 3 deletions
|
@ -162,6 +162,8 @@ The Rougail CLI can output a rather complete view of the dataset:
|
||||||
|
|
||||||
.. image:: images/UserDataOutput.png
|
.. image:: images/UserDataOutput.png
|
||||||
|
|
||||||
|
.. FIXME GWEN j'en suis là
|
||||||
|
|
||||||
Values are mandatory
|
Values are mandatory
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
|
@ -182,15 +184,19 @@ So, if :
|
||||||
---
|
---
|
||||||
proxy_mode:
|
proxy_mode:
|
||||||
|
|
||||||
Then the rougail CLI will output an error :
|
Then if we lauch the rougail CLI command:
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: text
|
||||||
|
:class: terminal
|
||||||
:caption: A rougail Command Line Utility call with the :file:`config/01/config.yaml` Rougail dictionnary file
|
:caption: A rougail Command Line Utility call with the :file:`config/01/config.yaml` Rougail dictionnary file
|
||||||
|
|
||||||
rougail -v 1.1 -m firefox -u file -ff config/01/config.yaml
|
rougail -v 1.1 -m firefox -u file -ff config/01/config.yaml
|
||||||
|
|
||||||
|
It will output an error :
|
||||||
|
|
||||||
.. raw:: html
|
.. raw:: html
|
||||||
:url: https://forge.cloud.silique.fr/stove/rougail-tutorials/raw/commit/v1.1_010/config/01/output_ro.html
|
:url: https://forge.cloud.silique.fr/stove/rougail-tutorials/raw/commit/v1.1_010/config/01/output_ro.html
|
||||||
|
:class: error-box
|
||||||
|
|
||||||
..
|
..
|
||||||
<pre>🛑 ERRORS
|
<pre>🛑 ERRORS
|
||||||
|
@ -198,6 +204,8 @@ Then the rougail CLI will output an error :
|
||||||
<span style="color: #ff0000">┗━━ </span> - proxy_mode
|
<span style="color: #ff0000">┗━━ </span> - proxy_mode
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
And we can deduce the following result:
|
||||||
|
|
||||||
.. important:: Once defined, an option configuration :term:`value` is :term:`mandatory`.
|
.. important:: Once defined, an option configuration :term:`value` is :term:`mandatory`.
|
||||||
|
|
||||||
Rougail waits for the `proxy_mode` configuration option's value to be set.
|
Rougail waits for the `proxy_mode` configuration option's value to be set.
|
||||||
|
@ -302,7 +310,7 @@ We have the list of the possible (authorized) values:
|
||||||
- a mandatory value
|
- a mandatory value
|
||||||
- a choice type
|
- a choice type
|
||||||
|
|
||||||
To sum up, we have arrived at this point in writing the structure file:
|
To sum up, we have arrived at this point in writing a structure file like this:
|
||||||
|
|
||||||
**Structure description file**
|
**Structure description file**
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue