This commit is contained in:
gwen 2025-02-04 22:01:19 +01:00
parent 28fe83cfb2
commit b4efbf1d71

View file

@ -162,6 +162,8 @@ The Rougail CLI can output a rather complete view of the dataset:
.. image:: images/UserDataOutput.png
.. FIXME GWEN j'en suis là
Values are mandatory
-------------------------
@ -182,15 +184,19 @@ So, if :
---
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
rougail -v 1.1 -m firefox -u file -ff config/01/config.yaml
It will output an error :
.. raw:: 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
@ -198,6 +204,8 @@ Then the rougail CLI will output an error :
<span style="color: #ff0000">┗━━ </span> - proxy_mode
</pre>
And we can deduce the following result:
.. important:: Once defined, an option configuration :term:`value` is :term:`mandatory`.
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 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**