Commit graph

6 commits

Author SHA1 Message Date
51026ab103 [tutorial 013] A variable with type "choice"
"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.
2024-10-23 20:01:15 +02:00
1a63a64517 [tutorial 012] 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").
2024-10-23 20:01:14 +02:00
fdc3f9aec3 [tutorial 011] The variable description
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/gnunux/rougail-user-data-questionary)).
2024-10-23 20:01:13 +02:00
5683709a74 [tutorial 010] A first variable with only a name 2024-10-23 20:01:11 +02:00
5a7036d4cf [tutorial 001] The format version in commandline 2024-10-23 20:01:10 +02:00
e9e18d0a76 [tutorial 000] A structured file with format version 2024-10-23 20:01:09 +02:00