Commit graph

5 commits

Author SHA1 Message Date
fcbfa19ea4 [tutorial v1.1_004] Limits the possible values for the variable
"Foo" should not be an option to the "proxy_mode" variable.

Now the "proxy_mode" type is "choice", that means that there is a list of available values that can be selected.

We say that the "proxy_mode" variable is constrained (by choices): this variable accept, in fact, only a list of choices.
2025-11-09 18:39:22 +01:00
6a302938b9 [tutorial v1.1_003] Set a default value
Now we can define the default value of this variable.

If the user doesn't touch this variable's value, the value is "No proxy"

As user intervention is no more required, so the variable change it's default mode too (from "basic" to "standard").
2025-11-09 18:39:21 +01:00
0a54d493a1 [tutorial v1.1_002] Describe the variable
We can add a description to this first variable.

This information is useful for:

- documentation
- error message
- help user to known which value to set to this variable (for example with [the user data plugin Questionary](https://forge.cloud.silique.fr/stove/rougail-user-data-questionary)).
2025-11-09 18:39:20 +01:00
e1f0981b57 [tutorial v1.1_001] A first variable with only a name 2025-11-09 18:39:19 +01:00
b02fd4b58b [tutorial v1.1_000] An empty structured file with format version 2025-11-09 18:39:18 +01:00