shorthand declaration #20

Merged
gremond merged 2 commits from shorthand into develop 2024-07-01 14:07:00 +02:00
Showing only changes of commit 6b34dd8678 - Show all commits

View file

@ -28,12 +28,13 @@ Shorthand declaration
Shorthand declaration is a way to declare a variable in a single line. But you can only define variable name, description, multi or default value. Shorthand declaration is a way to declare a variable in a single line. But you can only define variable name, description, multi or default value.
To create a variable, just add a key with it's name and default value as value. Attention, do not declare any other attributs. To create a variable, just add a key with it's name and default value as value.
Be careful not to declare any other attributes.
To declare a multi variable just add a list as default value. To declare a multi variable just add a list as default value.
By default, the description of the variable is the variable name. By default, the description of the variable is the variable name.
If you add comment in same line of name, this comment is use has description. If you add a comment in the same line of the name, this comment will be used has a description.
.. code-block:: yaml .. code-block:: yaml