Commit graph

5 commits

Author SHA1 Message Date
e45d779b59 [tutorial 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-07 06:37:09 +01:00
d9f9af1cdd [tutorial 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-07 06:37:08 +01:00
70c3e34bf5 [tutorial 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-07 06:37:07 +01:00
b51e80dd1e [tutorial 001] A first variable with only a name 2025-11-07 06:37:07 +01:00
d71dc427d1 [tutorial 000] An empty structured file with format version 2025-11-07 06:37:06 +01:00