feat: add console output
This commit is contained in:
parent
3d4b7b945c
commit
af652eda76
347 changed files with 13916 additions and 407 deletions
|
@ -5,8 +5,8 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"POT-Creation-Date: 2024-11-07 21:51+0100\n"
|
||||
"PO-Revision-Date: 2024-11-07 22:47+0100\n"
|
||||
"POT-Creation-Date: 2024-11-20 21:02+0100\n"
|
||||
"PO-Revision-Date: 2024-11-20 21:09+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: fr\n"
|
||||
|
@ -16,198 +16,238 @@ msgstr ""
|
|||
"Generated-By: pygettext.py 1.5\n"
|
||||
"X-Generator: Poedit 3.5\n"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:40
|
||||
msgid "the domain name can starts by a dot"
|
||||
msgstr "le nom de domaine peut commencé par un point"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:41
|
||||
msgid "the domain name can be a hostname"
|
||||
msgstr "le nom de domaine peut être un nom d'hôte"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:42
|
||||
msgid "the domain name can be an IP"
|
||||
msgstr "le nom de domaine peut être une IP"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:43
|
||||
msgid "the domain name can be network in CIDR format"
|
||||
msgstr "le nom de domaine peut être un réseau au format CIDR"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:48
|
||||
msgid "the minimum value is {0}"
|
||||
msgstr "le valeur minimal est {0}"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:49
|
||||
msgid "the maximum value is {0}"
|
||||
msgstr "le valeur maximal est {0}"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:55
|
||||
msgid "IP must be in CIDR format"
|
||||
msgstr "IP doit être au format CIDR"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:56
|
||||
msgid "private IP are allowed"
|
||||
msgstr "les IP privées sont autorisés"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:57
|
||||
msgid "reserved IP are allowed"
|
||||
msgstr "les IP réservés sont autorisés"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:62
|
||||
msgid "the host name can be an IP"
|
||||
msgstr "le nom d'hôte peut être une IP"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:67
|
||||
msgid "the domain name in web address can be an IP"
|
||||
msgstr "le nom de domaine dans l'adresse web peut être une IP"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:68
|
||||
msgid "the domain name in web address can be only a hostname"
|
||||
msgstr "le nom de domaine dans l'adresse web ne peut être qu'un nom d'hôte"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:75
|
||||
msgid "can be range of port"
|
||||
msgstr "peut être un range de port"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:76
|
||||
msgid "can have the protocol"
|
||||
msgstr "peut avoir un protocole"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:77
|
||||
msgid "port 0 is allowed"
|
||||
msgstr "le port 0 est autorisé"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:78
|
||||
msgid "ports 1 to 1023 are allowed"
|
||||
msgstr "les ports entre 1 et 1023 sont autorisés"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:79
|
||||
msgid "ports 1024 to 49151 are allowed"
|
||||
msgstr "les ports entre 1024 et 49151 sont autorisés"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:80
|
||||
msgid "ports greater than 49152 are allowed"
|
||||
msgstr "les ports supérieurs à 49152 sont autorisés"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:85
|
||||
msgid "minimum length for the secret"
|
||||
msgstr "longueur minimum pour un secret"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:86
|
||||
msgid "maximum length for the secret"
|
||||
msgstr "longueur maximal pour un secret"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:131
|
||||
msgid "mandatory"
|
||||
msgstr "obligatoire"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:132
|
||||
msgid "hidden"
|
||||
msgstr "cachée"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:133
|
||||
msgid "disabled"
|
||||
msgstr "désactivé"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:134
|
||||
msgid "unique"
|
||||
msgstr "unique"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:135
|
||||
msgid "auto modified"
|
||||
msgstr "auto modifiée"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:169
|
||||
msgid "Variables for \"{0}\""
|
||||
msgstr "Variables pour \"{0}\""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:186
|
||||
msgid "Variables"
|
||||
msgstr "Variables"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:193
|
||||
msgid "Example with mandatory variables not filled in"
|
||||
msgstr "Exemple avec des variables obligatoire non renseignée"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:499
|
||||
msgid "(default)"
|
||||
msgstr "(defaut)"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:504
|
||||
msgid "Choices"
|
||||
msgstr "Choix"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:507
|
||||
msgid "Default"
|
||||
msgstr "Défaut"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:563
|
||||
msgid "depends on a calculation"
|
||||
msgstr "dépend d'un calcul"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:564
|
||||
msgid "\"{0}\" is a calculation for {1} but has no description in {2}"
|
||||
msgstr "\"{0}\" est un calcul pour {1} mais n'a pas de description dans {2}"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:570
|
||||
msgid "the value of the variable \"{0}\""
|
||||
msgstr "la valeur de la variable \"{0}\""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:575
|
||||
msgid "the value of the identifier"
|
||||
msgstr "la valeur de l'identifiant"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:579
|
||||
msgid "the value of the {0}"
|
||||
msgstr "la valeur de l'{0}"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:624
|
||||
msgid "Validator"
|
||||
msgstr "Validateur"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:624
|
||||
#: src/rougail/output_doc/__init__.py:627
|
||||
#, fuzzy
|
||||
#| msgid ":"
|
||||
msgid ": "
|
||||
msgstr " : "
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:627
|
||||
msgid "Validators"
|
||||
msgstr "Validateurs"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:654
|
||||
#: src/rougail/output_doc/__init__.py:667
|
||||
msgid "Example"
|
||||
msgstr "Exemple"
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:665
|
||||
msgid "Examples"
|
||||
msgstr "Exemples"
|
||||
|
||||
#: src/rougail/output_doc/annotator.py:220
|
||||
msgid "when the variable \"{0}\" has the value \"{1}\""
|
||||
msgstr "lorsque la variable \"{0}\" a la valeur \"{1}\""
|
||||
|
||||
#: src/rougail/output_doc/annotator.py:222
|
||||
#: src/rougail/output_doc/annotator.py:284
|
||||
msgid "when the variable \"{0}\" hasn't the value \"{1}\""
|
||||
msgstr "lorsque la variable \"{0}\" n'a pas la valeur \"{1}\""
|
||||
|
||||
#: src/rougail/output_doc/annotator.py:224
|
||||
msgid "when the variable \"{0}\" has the value \"True\""
|
||||
msgstr "lorsque la variable \"{0}\" a la valeur \"True\""
|
||||
#: src/rougail/output_doc/annotator.py:290
|
||||
msgid "when the variable \"{0}\" has the value \"{1}\""
|
||||
msgstr "lorsque la variable \"{0}\" a la valeur \"{1}\""
|
||||
|
||||
#: src/rougail/output_doc/annotator.py:231
|
||||
#: src/rougail/output_doc/annotator.py:306
|
||||
msgid "the value of the information \"{0}\" of the variable \"{1}\""
|
||||
msgstr "la valeur de l'information \"{0}\" de la variable \"{1}\""
|
||||
|
||||
#: src/rougail/output_doc/annotator.py:233
|
||||
#: src/rougail/output_doc/annotator.py:309
|
||||
msgid "the value of the global information \"{0}\""
|
||||
msgstr "la valeur de l'information globale \"{0}\""
|
||||
|
||||
#: src/rougail/output_doc/annotator.py:237
|
||||
#: src/rougail/output_doc/annotator.py:318
|
||||
msgid "when the identifier is \"{0}\""
|
||||
msgstr "lorsque l'identifiant est \"{0}\""
|
||||
|
||||
#: src/rougail/output_doc/annotator.py:240
|
||||
#: src/rougail/output_doc/annotator.py:320
|
||||
msgid "when the identifier is not \"{0}\""
|
||||
msgstr "lorsque l'identifiant n'est pas \"{0}\""
|
||||
|
||||
#: src/rougail/output_doc/config.py:42
|
||||
msgid "duplicated level rougail-doc for output \"{0}\": {1} and {2}"
|
||||
msgstr "niveau dupliqué pour rougail-doc pour la sortie \"{0}\": {1} et {2}"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:83
|
||||
msgid "mandatory"
|
||||
msgstr "obligatoire"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:84
|
||||
msgid "hidden"
|
||||
msgstr "cachée"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:85
|
||||
msgid "disabled"
|
||||
msgstr "désactivé"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:86
|
||||
msgid "unique"
|
||||
msgstr "unique"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:87
|
||||
msgid "auto modified"
|
||||
msgstr "auto modifiée"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:264
|
||||
msgid "This family contains lists of variable blocks."
|
||||
msgstr "Cette famille contient des listes de bloc de variable."
|
||||
|
||||
#: src/rougail/output_doc/doc.py:272
|
||||
msgid "This family builds families dynamically."
|
||||
msgstr "Cette famille construit des familles dynamiquement."
|
||||
|
||||
#: src/rougail/output_doc/doc.py:302
|
||||
msgid "multiple"
|
||||
msgstr "multiple"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:322
|
||||
msgid "No attribute \"description\" for \"{0}\" in {1}"
|
||||
msgstr "Aucun attribut \"description\" pour \"{0}\" dans {1}"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:420
|
||||
msgid "(default)"
|
||||
msgstr "(défaut)"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:427
|
||||
msgid "text based with regular expressions \"{0}\""
|
||||
msgstr "texte avec expression rationnelle \"{0}\""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:514
|
||||
msgid "depends on a calculation"
|
||||
msgstr "dépend d'un calcul"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:515
|
||||
msgid "\"{0}\" is a calculation for {1} but has no description in {2}"
|
||||
msgstr "\"{0}\" est un calcul pour {1} mais n'a pas de description dans {2}"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:539
|
||||
msgid "the value of the variable \"{0}\""
|
||||
msgstr "la valeur de la variable \"{0}\""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:549
|
||||
msgid "the value of the identifier"
|
||||
msgstr "la valeur de l'identifiant"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:553
|
||||
msgid "the value of the {0}"
|
||||
msgstr "la valeur de l'{0}"
|
||||
|
||||
#: src/rougail/output_doc/example.py:38
|
||||
msgid "Example with mandatory variables not filled in"
|
||||
msgstr "Exemple avec des variables obligatoire non renseignée"
|
||||
|
||||
#: src/rougail/output_doc/example.py:43
|
||||
msgid "Example with all variables modifiable"
|
||||
msgstr "Exemple avec toutes les variables modifiable"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:41
|
||||
msgid "the domain name can starts by a dot"
|
||||
msgstr "le nom de domaine peut commencé par un point"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:42
|
||||
msgid "the domain name can be a hostname"
|
||||
msgstr "le nom de domaine peut être un nom d'hôte"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:43
|
||||
msgid "the domain name can be an IP"
|
||||
msgstr "le nom de domaine peut être une IP"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:44
|
||||
msgid "the domain name can be network in CIDR format"
|
||||
msgstr "le nom de domaine peut être un réseau au format CIDR"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:49
|
||||
msgid "the minimum value is {0}"
|
||||
msgstr "le valeur minimal est {0}"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:50
|
||||
msgid "the maximum value is {0}"
|
||||
msgstr "le valeur maximal est {0}"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:56
|
||||
msgid "IP must be in CIDR format"
|
||||
msgstr "IP doit être au format CIDR"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:57
|
||||
msgid "private IP are allowed"
|
||||
msgstr "les IP privées sont autorisés"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:58
|
||||
msgid "reserved IP are allowed"
|
||||
msgstr "les IP réservés sont autorisés"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:63
|
||||
msgid "the host name can be an IP"
|
||||
msgstr "le nom d'hôte peut être une IP"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:68
|
||||
msgid "the domain name in web address can be an IP"
|
||||
msgstr "le nom de domaine dans l'adresse web peut être une IP"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:69
|
||||
msgid "the domain name in web address can be only a hostname"
|
||||
msgstr "le nom de domaine dans l'adresse web ne peut être qu'un nom d'hôte"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:76
|
||||
msgid "can be range of port"
|
||||
msgstr "peut être un range de port"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:77
|
||||
msgid "can have the protocol"
|
||||
msgstr "peut avoir un protocole"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:78
|
||||
msgid "port 0 is allowed"
|
||||
msgstr "le port 0 est autorisé"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:79
|
||||
msgid "ports 1 to 1023 are allowed"
|
||||
msgstr "les ports entre 1 et 1023 sont autorisés"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:80
|
||||
msgid "ports 1024 to 49151 are allowed"
|
||||
msgstr "les ports entre 1024 et 49151 sont autorisés"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:81
|
||||
msgid "ports greater than 49152 are allowed"
|
||||
msgstr "les ports supérieurs à 49152 sont autorisés"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:86
|
||||
msgid "minimum length for the secret"
|
||||
msgstr "longueur minimum pour un secret"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:87
|
||||
msgid "maximum length for the secret"
|
||||
msgstr "longueur maximal pour un secret"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:215
|
||||
msgid "Variables"
|
||||
msgstr "Variables"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:232
|
||||
msgid "Variables for \"{0}\""
|
||||
msgstr "Variables pour \"{0}\""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:247
|
||||
msgid "Identifiers"
|
||||
msgstr "Identifiants"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:296
|
||||
msgid "Validator"
|
||||
msgstr "Validateur"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:298
|
||||
msgid "Validators"
|
||||
msgstr "Validateurs"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:300
|
||||
msgid "Choices"
|
||||
msgstr "Choix"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:302
|
||||
msgid "Default"
|
||||
msgstr "Défaut"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:306
|
||||
msgid "Example"
|
||||
msgstr "Exemple"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:308
|
||||
msgid "Examples"
|
||||
msgstr "Exemples"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:346
|
||||
msgid "Description"
|
||||
msgstr "Description"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:346
|
||||
msgid "Variable"
|
||||
msgstr "Variable"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:367
|
||||
msgid "{0}: {1}"
|
||||
msgstr "{0} : {1}"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid ":"
|
||||
#~ msgid ": "
|
||||
#~ msgstr " : "
|
||||
|
||||
#~ msgid "when the variable \"{0}\" has the value \"True\""
|
||||
#~ msgstr "lorsque la variable \"{0}\" a la valeur \"True\""
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: 2024-11-07 22:47+0100\n"
|
||||
"POT-Creation-Date: 2024-11-20 21:09+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -15,197 +15,231 @@ msgstr ""
|
|||
"Generated-By: pygettext.py 1.5\n"
|
||||
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:40
|
||||
msgid "the domain name can starts by a dot"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:41
|
||||
msgid "the domain name can be a hostname"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:42
|
||||
msgid "the domain name can be an IP"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:43
|
||||
msgid "the domain name can be network in CIDR format"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:48
|
||||
msgid "the minimum value is {0}"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:49
|
||||
msgid "the maximum value is {0}"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:55
|
||||
msgid "IP must be in CIDR format"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:56
|
||||
msgid "private IP are allowed"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:57
|
||||
msgid "reserved IP are allowed"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:62
|
||||
msgid "the host name can be an IP"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:67
|
||||
msgid "the domain name in web address can be an IP"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:68
|
||||
msgid "the domain name in web address can be only a hostname"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:75
|
||||
msgid "can be range of port"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:76
|
||||
msgid "can have the protocol"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:77
|
||||
msgid "port 0 is allowed"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:78
|
||||
msgid "ports 1 to 1023 are allowed"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:79
|
||||
msgid "ports 1024 to 49151 are allowed"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:80
|
||||
msgid "ports greater than 49152 are allowed"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:85
|
||||
msgid "minimum length for the secret"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:86
|
||||
msgid "maximum length for the secret"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:131
|
||||
msgid "mandatory"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:132
|
||||
msgid "hidden"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:133
|
||||
msgid "disabled"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:134
|
||||
msgid "unique"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:135
|
||||
msgid "auto modified"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:169
|
||||
msgid "Variables for \"{0}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:186
|
||||
msgid "Variables"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:193
|
||||
msgid "Example with mandatory variables not filled in"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:499
|
||||
msgid "(default)"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:504
|
||||
msgid "Choices"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:507
|
||||
msgid "Default"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:563
|
||||
msgid "depends on a calculation"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:564
|
||||
msgid "\"{0}\" is a calculation for {1} but has no description in {2}"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:570
|
||||
msgid "the value of the variable \"{0}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:575
|
||||
msgid "the value of the identifier"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:579
|
||||
msgid "the value of the {0}"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:624
|
||||
msgid "Validator"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:624
|
||||
#: src/rougail/output_doc/__init__.py:627
|
||||
msgid ": "
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:627
|
||||
msgid "Validators"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:654
|
||||
#: src/rougail/output_doc/__init__.py:667
|
||||
msgid "Example"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/__init__.py:665
|
||||
msgid "Examples"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/annotator.py:220
|
||||
msgid "when the variable \"{0}\" has the value \"{1}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/annotator.py:222
|
||||
#: src/rougail/output_doc/annotator.py:284
|
||||
msgid "when the variable \"{0}\" hasn't the value \"{1}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/annotator.py:224
|
||||
msgid "when the variable \"{0}\" has the value \"True\""
|
||||
#: src/rougail/output_doc/annotator.py:290
|
||||
msgid "when the variable \"{0}\" has the value \"{1}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/annotator.py:238
|
||||
#: src/rougail/output_doc/annotator.py:306
|
||||
msgid "the value of the information \"{0}\" of the variable \"{1}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/annotator.py:240
|
||||
#: src/rougail/output_doc/annotator.py:309
|
||||
msgid "the value of the global information \"{0}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/annotator.py:244
|
||||
#: src/rougail/output_doc/annotator.py:318
|
||||
msgid "when the identifier is \"{0}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/annotator.py:247
|
||||
#: src/rougail/output_doc/annotator.py:320
|
||||
msgid "when the identifier is not \"{0}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/config.py:42
|
||||
msgid "duplicated level rougail-doc for output \"{0}\": {1} and {2}"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:83
|
||||
msgid "mandatory"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:84
|
||||
msgid "hidden"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:85
|
||||
msgid "disabled"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:86
|
||||
msgid "unique"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:87
|
||||
msgid "auto modified"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:264
|
||||
msgid "This family contains lists of variable blocks."
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:272
|
||||
msgid "This family builds families dynamically."
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:302
|
||||
msgid "multiple"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:322
|
||||
msgid "No attribute \"description\" for \"{0}\" in {1}"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:420
|
||||
msgid "(default)"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:427
|
||||
msgid "text based with regular expressions \"{0}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:514
|
||||
msgid "depends on a calculation"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:515
|
||||
msgid "\"{0}\" is a calculation for {1} but has no description in {2}"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:539
|
||||
msgid "the value of the variable \"{0}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:549
|
||||
msgid "the value of the identifier"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:553
|
||||
msgid "the value of the {0}"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/example.py:38
|
||||
msgid "Example with mandatory variables not filled in"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/example.py:43
|
||||
msgid "Example with all variables modifiable"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:41
|
||||
msgid "the domain name can starts by a dot"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:42
|
||||
msgid "the domain name can be a hostname"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:43
|
||||
msgid "the domain name can be an IP"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:44
|
||||
msgid "the domain name can be network in CIDR format"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:49
|
||||
msgid "the minimum value is {0}"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:50
|
||||
msgid "the maximum value is {0}"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:56
|
||||
msgid "IP must be in CIDR format"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:57
|
||||
msgid "private IP are allowed"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:58
|
||||
msgid "reserved IP are allowed"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:63
|
||||
msgid "the host name can be an IP"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:68
|
||||
msgid "the domain name in web address can be an IP"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:69
|
||||
msgid "the domain name in web address can be only a hostname"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:76
|
||||
msgid "can be range of port"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:77
|
||||
msgid "can have the protocol"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:78
|
||||
msgid "port 0 is allowed"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:79
|
||||
msgid "ports 1 to 1023 are allowed"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:80
|
||||
msgid "ports 1024 to 49151 are allowed"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:81
|
||||
msgid "ports greater than 49152 are allowed"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:86
|
||||
msgid "minimum length for the secret"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:87
|
||||
msgid "maximum length for the secret"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:215
|
||||
msgid "Variables"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:232
|
||||
msgid "Variables for \"{0}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:247
|
||||
msgid "Identifiers"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:296
|
||||
msgid "Validator"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:298
|
||||
msgid "Validators"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:300
|
||||
msgid "Choices"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:302
|
||||
msgid "Default"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:306
|
||||
msgid "Example"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:308
|
||||
msgid "Examples"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:346
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:346
|
||||
msgid "Variable"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:367
|
||||
msgid "{0}: {1}"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@ classifiers = [
|
|||
dependencies = [
|
||||
"rougail ~= 1.2,<2",
|
||||
"tabulate ~= 0.9.0",
|
||||
"rich ~= 13.9.3",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
|
|
|
@ -15,6 +15,7 @@ details.
|
|||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
from .doc import RougailOutputDoc
|
||||
|
||||
|
||||
|
|
|
@ -222,9 +222,10 @@ class Annotator(Walk):
|
|||
version: str,
|
||||
):
|
||||
if not isinstance(values, Calculation):
|
||||
return {'value': values}
|
||||
return {"value": values}
|
||||
if isinstance(values, JinjaCalculation):
|
||||
return {"type": "jinja",
|
||||
return {
|
||||
"type": "jinja",
|
||||
"value": self._calculation_to_information_jinja(values),
|
||||
}
|
||||
if isinstance(values, (VariableCalculation, VariablePropertyCalculation)):
|
||||
|
@ -233,23 +234,27 @@ class Annotator(Walk):
|
|||
)
|
||||
if value is None:
|
||||
return
|
||||
return {"type": "variable",
|
||||
return {
|
||||
"type": "variable",
|
||||
"value": value,
|
||||
}
|
||||
if isinstance(values, InformationCalculation):
|
||||
return {"type": "information",
|
||||
return {
|
||||
"type": "information",
|
||||
"value": self._calculation_to_information_information(
|
||||
values, version, path
|
||||
),
|
||||
}
|
||||
if isinstance(values, (IdentifierCalculation, IdentifierPropertyCalculation)):
|
||||
return {"type": "identifier",
|
||||
return {
|
||||
"type": "identifier",
|
||||
"value": self._calculation_to_information_identifier(
|
||||
values, prop, version
|
||||
),
|
||||
}
|
||||
if isinstance(values, IndexCalculation):
|
||||
return {"type": "index",
|
||||
return {
|
||||
"type": "index",
|
||||
"value": True,
|
||||
}
|
||||
raise Exception('unknown calculation "{values}"')
|
||||
|
@ -306,9 +311,7 @@ class Annotator(Walk):
|
|||
return _('the value of the information "{0}" of the variable "{1}"').format(
|
||||
values.information, variable_path
|
||||
)
|
||||
return _('the value of the global information "{0}"').format(
|
||||
values.information
|
||||
)
|
||||
return _('the value of the global information "{0}"').format(values.information)
|
||||
|
||||
def _calculation_to_information_identifier(
|
||||
self, values, prop: str, version: str
|
||||
|
|
|
@ -122,7 +122,9 @@ class RougailOutputDoc(Examples):
|
|||
return
|
||||
if path not in self.dynamic_paths:
|
||||
self.dynamic_paths[path] = {"paths": [], "names": []}
|
||||
self.dynamic_paths[path]["paths"].append(self._dyn_path_to_italic(variable, path))
|
||||
self.dynamic_paths[path]["paths"].append(
|
||||
self._dyn_path_to_italic(variable, path)
|
||||
)
|
||||
self.dynamic_paths[path]["names"].append(variable.name())
|
||||
|
||||
def _populate_dynamic_family(self, family, path) -> None:
|
||||
|
@ -178,7 +180,9 @@ class RougailOutputDoc(Examples):
|
|||
) -> Optional[dict]:
|
||||
if variable.isdynamic():
|
||||
# information is already set
|
||||
potential_leader = self._parse_variable_dynamic(variable, leader, name, path, informations)
|
||||
potential_leader = self._parse_variable_dynamic(
|
||||
variable, leader, name, path, informations
|
||||
)
|
||||
elif variable.isfollower() and variable.index():
|
||||
potential_leader = self._parse_variable_follower_with_index(
|
||||
variable, name, informations
|
||||
|
@ -219,7 +223,9 @@ class RougailOutputDoc(Examples):
|
|||
)
|
||||
return None
|
||||
|
||||
def _parse_variable_dynamic(self, variable, leader, name, path, informations) -> None:
|
||||
def _parse_variable_dynamic(
|
||||
self, variable, leader, name, path, informations
|
||||
) -> None:
|
||||
dynamic_variable = self.dynamic_paths[path]
|
||||
if "type" in dynamic_variable:
|
||||
if self.with_example:
|
||||
|
@ -318,7 +324,9 @@ class RougailOutputDoc(Examples):
|
|||
informations["paths"] = [obj.path(uncalculated=True)]
|
||||
informations["names"] = [obj.name()]
|
||||
description = obj.description(uncalculated=True)
|
||||
if obj.name(uncalculated=True) == description:
|
||||
if obj.name(uncalculated=True) == description and (
|
||||
not obj.isoptiondescription() or obj.group_type() is not groups.namespace
|
||||
):
|
||||
warning = _('No attribute "description" for "{0}" in {1}').format(
|
||||
informations["paths"][0],
|
||||
display_xmlfiles(obj.information.get("dictionaries")),
|
||||
|
@ -482,10 +490,8 @@ class RougailOutputDoc(Examples):
|
|||
do_not_raise=False,
|
||||
):
|
||||
if identifier:
|
||||
raise Exception('pfff')
|
||||
calculation = variable.information.get(
|
||||
f"{prop}_calculation", None
|
||||
)
|
||||
raise Exception("pfff")
|
||||
calculation = variable.information.get(f"{prop}_calculation", None)
|
||||
if not calculation:
|
||||
if do_not_raise:
|
||||
return None
|
||||
|
@ -524,7 +530,7 @@ class RougailOutputDoc(Examples):
|
|||
if prop in PROPERTY_ATTRIBUTE:
|
||||
values = calculation["value"]
|
||||
else:
|
||||
if calculation.get('optional', False):
|
||||
if calculation.get("optional", False):
|
||||
# FIXME pas forcement dans self.dynamic_paths encore ...
|
||||
path = calculation["value"]
|
||||
if "{{ identifier }}" in path:
|
||||
|
@ -539,7 +545,10 @@ class RougailOutputDoc(Examples):
|
|||
msg = _('the value of the variable "{0}"')
|
||||
if "{{ identifier }}" in calculation["value"]:
|
||||
# FIXME pas forcement dans self.dynamic_paths encore ...
|
||||
values = [msg.format(path) for path in self.dynamic_paths[calculation["value"]]["paths"]]
|
||||
values = [
|
||||
msg.format(path)
|
||||
for path in self.dynamic_paths[calculation["value"]]["paths"]
|
||||
]
|
||||
else:
|
||||
values = msg.format(calculation["value"])
|
||||
elif calculation["type"] == "identifier":
|
||||
|
|
|
@ -23,6 +23,7 @@ from .utils import _
|
|||
|
||||
class Examples: # pylint: disable=no-member,too-few-public-methods
|
||||
"""Build examples"""
|
||||
|
||||
def __init__(self):
|
||||
self.examples = None
|
||||
self.examples_mandatories = None
|
||||
|
|
Binary file not shown.
|
@ -22,7 +22,9 @@ from ..utils import CommonFormater, dump
|
|||
|
||||
class Formater(CommonFormater):
|
||||
"""The asciidoc formater"""
|
||||
|
||||
name = "asciidoc"
|
||||
_table_name = "asciidoc"
|
||||
level = 40
|
||||
|
||||
def header(self):
|
||||
|
|
60
src/rougail/output_doc/output/console.py
Normal file
60
src/rougail/output_doc/output/console.py
Normal file
|
@ -0,0 +1,60 @@
|
|||
"""
|
||||
Silique (https://www.silique.fr)
|
||||
Copyright (C) 2024
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU Lesser General Public License as published by the
|
||||
Free Software Foundation, either version 3 of the License, or (at your
|
||||
option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
|
||||
details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
from .github import Formater as GFormater
|
||||
|
||||
|
||||
# from rich.text import Text
|
||||
# from rich.table import Table, Column
|
||||
# from rich.console import Console
|
||||
#
|
||||
# from typing import List
|
||||
# from ..utils import CommonFormater, dump
|
||||
#
|
||||
## console.print(table)
|
||||
#
|
||||
class Formater(GFormater):
|
||||
"""The console formater"""
|
||||
|
||||
name = "console"
|
||||
level = 10
|
||||
enter_table = "\n"
|
||||
|
||||
def header(self):
|
||||
"""Header of the documentation"""
|
||||
return ""
|
||||
|
||||
def run(self, dico: dict, level: int) -> str:
|
||||
msg = super().run(dico, level)
|
||||
from rich.console import Console
|
||||
from rich.markdown import Markdown
|
||||
|
||||
console = Console()
|
||||
|
||||
markdown = Markdown(msg)
|
||||
with console.capture() as capture:
|
||||
console.print(markdown)
|
||||
return capture.get()
|
||||
|
||||
def link(
|
||||
self,
|
||||
comment: str,
|
||||
link: str,
|
||||
) -> str:
|
||||
"""Add a link"""
|
||||
return self.prop(comment, False)
|
|
@ -23,7 +23,9 @@ from ..utils import dump, CommonFormater
|
|||
|
||||
class Formater(CommonFormater):
|
||||
"""The markdown (for github) formater"""
|
||||
|
||||
name = "github"
|
||||
_table_name = "github"
|
||||
level = 50
|
||||
enter_table = "<br/>"
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ from typing import Any
|
|||
|
||||
class Formater:
|
||||
"""Just return internal structure to json"""
|
||||
|
||||
name = "json"
|
||||
level = 90
|
||||
|
||||
|
|
|
@ -315,7 +315,7 @@ class CommonFormater:
|
|||
"""Transform properties to string"""
|
||||
properties = []
|
||||
for prop in dico.get("properties", []):
|
||||
if prop["type"] == 'type':
|
||||
if prop["type"] == "type":
|
||||
properties.append(self.link(prop["name"], ROUGAIL_VARIABLE_TYPE))
|
||||
else:
|
||||
if "annotation" in prop:
|
||||
|
@ -343,8 +343,8 @@ class CommonFormater:
|
|||
msg = (
|
||||
tabulate(
|
||||
datas,
|
||||
headers=self.table_header(["Variable", "Description"]),
|
||||
tablefmt=self.name,
|
||||
headers=self.table_header([_("Variable"), _("Description")]),
|
||||
tablefmt=self._table_name,
|
||||
)
|
||||
+ "\n\n"
|
||||
)
|
||||
|
|
0
tests/docs/base/00_0empty.sh
Normal file
0
tests/docs/base/00_0empty.sh
Normal file
18
tests/docs/base/00_0version_underscore.sh
Normal file
18
tests/docs/base/00_0version_underscore.sh
Normal file
|
@ -0,0 +1,18 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
_version: '1.1'
|
||||
version: # a variable
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.version[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m A variable.
|
||||
|
18
tests/docs/base/00_1empty_variable.sh
Normal file
18
tests/docs/base/00_1empty_variable.sh
Normal file
|
@ -0,0 +1,18 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.0'
|
||||
empty:
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.empty[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m Empty.
|
||||
|
32
tests/docs/base/00_2default_calculated.sh
Normal file
32
tests/docs/base/00_2default_calculated.sh
Normal file
|
@ -0,0 +1,32 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: 1.1
|
||||
var1: no # a first variable
|
||||
var2:
|
||||
description: a second variable
|
||||
multi: true
|
||||
default:
|
||||
jinja: |
|
||||
{{ _.var1 }}
|
||||
description: the value of var1
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A first variable.
|
||||
[1mDefault[0m: no
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m A second variable.
|
||||
[1mDefault[0m: the value of var1.
|
||||
|
39
tests/docs/base/00_2default_calculated_multi.sh
Normal file
39
tests/docs/base/00_2default_calculated_multi.sh
Normal file
|
@ -0,0 +1,39 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: 1.1
|
||||
var1: # a first variable
|
||||
- no
|
||||
- yes
|
||||
- maybe
|
||||
var2:
|
||||
description: a second variable
|
||||
multi: true
|
||||
default:
|
||||
jinja: |
|
||||
{% for val in _.var1 %}
|
||||
{{ val }}
|
||||
{% endfor %}
|
||||
description: the value of _.var1
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m A first variable.
|
||||
[1mDefault[0m:
|
||||
|
||||
|
||||
[1;33m • [0mno
|
||||
[1;33m • [0myes
|
||||
[1;33m • [0mmaybe
|
||||
[1;33m [0m| | [1mrougail.var2[0m [1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m
|
||||
[1;33m [0m| A second variable. [1mDefault[0m: the value of _.var1.
|
||||
[1;33m [0m|
|
|
@ -0,0 +1,39 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: 1.1
|
||||
|
||||
var1:
|
||||
description: a first variable
|
||||
multi: true
|
||||
type: domainname
|
||||
params:
|
||||
allow_ip: true
|
||||
|
||||
var2:
|
||||
description: a second variable
|
||||
default:
|
||||
type: variable
|
||||
variable: _.var1
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mdomainname[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m A first variable.
|
||||
[1mValidator[0m: the domain name can be an IP
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mdomainname[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m A second variable.
|
||||
[1mValidator[0m: the domain name can be an IP
|
||||
[1mDefault[0m: the value of the variable "rougail.var1".
|
||||
|
30
tests/docs/base/00_4load_subfolder.sh
Normal file
30
tests/docs/base/00_4load_subfolder.sh
Normal file
|
@ -0,0 +1,30 @@
|
|||
# dictionaries/rougail/99-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.0'
|
||||
var1:
|
||||
description: a variable
|
||||
```
|
||||
# dictionaries/rougail2/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.0'
|
||||
var2:
|
||||
description: a variable
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m A variable.
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m A variable.
|
||||
|
22
tests/docs/base/00_5load_notype.sh
Normal file
22
tests/docs/base/00_5load_notype.sh
Normal file
|
@ -0,0 +1,22 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.0'
|
||||
without_type:
|
||||
description: a variable
|
||||
default: non
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.without_type[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A variable.
|
||||
[1mDefault[0m: non
|
||||
|
60
tests/docs/base/00_6boolean.sh
Normal file
60
tests/docs/base/00_6boolean.sh
Normal file
|
@ -0,0 +1,60 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var1: true # the first variable
|
||||
var2:
|
||||
description: the second variable
|
||||
default: true
|
||||
var3:
|
||||
description: the third variable
|
||||
type: boolean
|
||||
default: true
|
||||
var4: false # the forth variable
|
||||
var5:
|
||||
description: the fifth variable
|
||||
default: false
|
||||
var6:
|
||||
description: the sixth variable
|
||||
type: boolean
|
||||
default: false
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mboolean[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The first variable.
|
||||
[1mDefault[0m: true
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mboolean[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The second variable.
|
||||
[1mDefault[0m: true
|
||||
[1mrougail.var3[0m
|
||||
[1;36;40mboolean[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The third variable.
|
||||
[1mDefault[0m: true
|
||||
[1mrougail.var4[0m
|
||||
[1;36;40mboolean[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The forth variable.
|
||||
[1mDefault[0m: false
|
||||
[1mrougail.var5[0m
|
||||
[1;36;40mboolean[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The fifth variable.
|
||||
[1mDefault[0m: false
|
||||
[1mrougail.var6[0m
|
||||
[1;36;40mboolean[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The sixth variable.
|
||||
[1mDefault[0m: false
|
||||
|
23
tests/docs/base/00_6boolean_no_mandatory.sh
Normal file
23
tests/docs/base/00_6boolean_no_mandatory.sh
Normal file
|
@ -0,0 +1,23 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a variable
|
||||
type: boolean
|
||||
mandatory: false
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mboolean[0m [1;36;40mstandard[0m A variable.
|
||||
[1mDefault[0m: true
|
||||
|
84
tests/docs/base/00_6choice.sh
Normal file
84
tests/docs/base/00_6choice.sh
Normal file
|
@ -0,0 +1,84 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var1:
|
||||
description: the first variable
|
||||
choices:
|
||||
- a
|
||||
- b
|
||||
- c
|
||||
var2:
|
||||
description: the second variable
|
||||
choices:
|
||||
- a
|
||||
- b
|
||||
- c
|
||||
var3:
|
||||
description: the third variable
|
||||
choices:
|
||||
- a
|
||||
- b
|
||||
- c
|
||||
mandatory: false
|
||||
var4:
|
||||
description: the forth variable
|
||||
choices:
|
||||
-
|
||||
- b
|
||||
- c
|
||||
mandatory: false
|
||||
var5:
|
||||
description: the fifth variable
|
||||
choices:
|
||||
- a
|
||||
- b
|
||||
- c
|
||||
default: a
|
||||
var6:
|
||||
description: the sixth variable
|
||||
choices:
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
default: 1
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mchoice[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m The first variable.
|
||||
[1mChoices[0m:
|
||||
|
||||
|
||||
[1;33m • [0ma
|
||||
[1;33m • [0mb
|
||||
[1;33m • [0mc | | [1mrougail.var2[0m [1;36;40mchoice[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m
|
||||
[1;33m [0m| The second variable. [1mChoices[0m:
|
||||
[1;33m • [0ma
|
||||
[1;33m • [0mb
|
||||
[1;33m • [0mc | | [1mrougail.var3[0m [1;36;40mchoice[0m [1;36;40mstandard[0m
|
||||
[1;33m [0m| The third variable. [1mChoices[0m:
|
||||
[1;33m • [0ma
|
||||
[1;33m • [0mb
|
||||
[1;33m • [0mc
|
||||
[1;33m • [0mnull | | [1mrougail.var4[0m [1;36;40mchoice[0m [1;36;40mstandard[0m
|
||||
[1;33m [0m| The forth variable. [1mChoices[0m:
|
||||
[1;33m • [0mnull
|
||||
[1;33m • [0mb
|
||||
[1;33m • [0mc | | [1mrougail.var5[0m [1;36;40mchoice[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m
|
||||
[1;33m [0m| The fifth variable. [1mChoices[0m:
|
||||
[1;33m • [0ma ← (default)
|
||||
[1;33m • [0mb
|
||||
[1;33m • [0mc | | [1mrougail.var6[0m [1;36;40mchoice[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m
|
||||
[1;33m [0m| The sixth variable. [1mChoices[0m:
|
||||
[1;33m • [0m1 ← (default)
|
||||
[1;33m • [0m2
|
||||
[1;33m • [0m3 |
|
31
tests/docs/base/00_6choice_calculation.sh
Normal file
31
tests/docs/base/00_6choice_calculation.sh
Normal file
|
@ -0,0 +1,31 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: 1.1
|
||||
var:
|
||||
description: a variable
|
||||
default: 9
|
||||
choices:
|
||||
jinja: |
|
||||
{% for n in trange(0, 10) %}
|
||||
{{ n }}
|
||||
{% endfor %}
|
||||
return_type: number
|
||||
description: choices is 0 to 9
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var[0m
|
||||
[1;36;40mchoice[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A variable.
|
||||
[1mChoices[0m: choices is 0 to 9.
|
||||
[1mDefault[0m: 9
|
||||
|
35
tests/docs/base/00_6choice_variable.sh
Normal file
35
tests/docs/base/00_6choice_variable.sh
Normal file
|
@ -0,0 +1,35 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var1: # a second variable
|
||||
- a
|
||||
- b
|
||||
- c
|
||||
var2:
|
||||
description: a first variable
|
||||
default: a
|
||||
choices:
|
||||
variable: _.var1
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m A second variable.
|
||||
[1mDefault[0m:
|
||||
|
||||
|
||||
[1;33m • [0ma
|
||||
[1;33m • [0mb
|
||||
[1;33m • [0mc
|
||||
[1;33m [0m| | [1mrougail.var2[0m [1;36;40mchoice[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m
|
||||
[1;33m [0m| A first variable. [1mChoices[0m: the value of the variable "rougail.var1". [1mDefault[0m: a
|
||||
[1;33m [0m|
|
29
tests/docs/base/00_6custom.sh
Normal file
29
tests/docs/base/00_6custom.sh
Normal file
|
@ -0,0 +1,29 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
custom1:
|
||||
description: the first variable
|
||||
type: custom
|
||||
custom2:
|
||||
description: the seconf variable
|
||||
type: custom
|
||||
default: value
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.custom1[0m
|
||||
[1;36;40mcustom[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m The first variable.
|
||||
[1mrougail.custom2[0m
|
||||
[1;36;40mcustom[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The seconf variable.
|
||||
[1mDefault[0m: value
|
||||
|
23
tests/docs/base/00_6domainname.sh
Normal file
23
tests/docs/base/00_6domainname.sh
Normal file
|
@ -0,0 +1,23 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a domain name variable
|
||||
type: domainname
|
||||
default: my.domain.name
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mdomainname[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A domain name variable.
|
||||
[1mDefault[0m: my.domain.name
|
||||
|
27
tests/docs/base/00_6domainname_params.sh
Normal file
27
tests/docs/base/00_6domainname_params.sh
Normal file
|
@ -0,0 +1,27 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a domain name variable
|
||||
type: domainname
|
||||
default: my.domain.name
|
||||
params:
|
||||
allow_ip: true
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mdomainname[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A domain name variable.
|
||||
[1mValidator[0m: the domain name can be an IP
|
||||
[1mDefault[0m: my.domain.name
|
||||
|
60
tests/docs/base/00_6float.sh
Normal file
60
tests/docs/base/00_6float.sh
Normal file
|
@ -0,0 +1,60 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var1: 0.0 # the first variable
|
||||
var2:
|
||||
description: the second variable
|
||||
default: 0.0
|
||||
var3:
|
||||
description: the third variable
|
||||
type: float
|
||||
default: 0.0
|
||||
var4: 10.1 # the forth variable
|
||||
var5:
|
||||
description: the fifth variable
|
||||
default: 10.1
|
||||
var6:
|
||||
description: the sixth variable
|
||||
type: float
|
||||
default: 10.1
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mfloat[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The first variable.
|
||||
[1mDefault[0m: 0.0
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mfloat[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The second variable.
|
||||
[1mDefault[0m: 0.0
|
||||
[1mrougail.var3[0m
|
||||
[1;36;40mfloat[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The third variable.
|
||||
[1mDefault[0m: 0.0
|
||||
[1mrougail.var4[0m
|
||||
[1;36;40mfloat[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The forth variable.
|
||||
[1mDefault[0m: 10.1
|
||||
[1mrougail.var5[0m
|
||||
[1;36;40mfloat[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The fifth variable.
|
||||
[1mDefault[0m: 10.1
|
||||
[1mrougail.var6[0m
|
||||
[1;36;40mfloat[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The sixth variable.
|
||||
[1mDefault[0m: 10.1
|
||||
|
60
tests/docs/base/00_6number.sh
Normal file
60
tests/docs/base/00_6number.sh
Normal file
|
@ -0,0 +1,60 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var1: 0 # the first variable
|
||||
var2:
|
||||
description: the second variable
|
||||
default: 0
|
||||
var3:
|
||||
description: the third variable
|
||||
type: number
|
||||
default: 0
|
||||
var4: 10 # this forth variable
|
||||
var5:
|
||||
description: the fifth variable
|
||||
default: 10
|
||||
var6:
|
||||
description: the sixth variable
|
||||
type: number
|
||||
default: 10
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mnumber[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The first variable.
|
||||
[1mDefault[0m: 0
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mnumber[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The second variable.
|
||||
[1mDefault[0m: 0
|
||||
[1mrougail.var3[0m
|
||||
[1;36;40mnumber[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The third variable.
|
||||
[1mDefault[0m: 0
|
||||
[1mrougail.var4[0m
|
||||
[1;36;40mnumber[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m This forth variable.
|
||||
[1mDefault[0m: 10
|
||||
[1mrougail.var5[0m
|
||||
[1;36;40mnumber[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The fifth variable.
|
||||
[1mDefault[0m: 10
|
||||
[1mrougail.var6[0m
|
||||
[1;36;40mnumber[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The sixth variable.
|
||||
[1mDefault[0m: 10
|
||||
|
38
tests/docs/base/00_6port.sh
Normal file
38
tests/docs/base/00_6port.sh
Normal file
|
@ -0,0 +1,38 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
variable1:
|
||||
description: a port variable
|
||||
type: port
|
||||
variable2:
|
||||
description: a port variable with default value
|
||||
type: port
|
||||
default: '8080'
|
||||
variable3:
|
||||
description: a port variable with integer default value
|
||||
type: port
|
||||
default: 8080
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable1[0m
|
||||
[1;36;40mport[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m A port variable.
|
||||
[1mrougail.variable2[0m
|
||||
[1;36;40mport[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A port variable with default value.
|
||||
[1mDefault[0m: 8080
|
||||
[1mrougail.variable3[0m
|
||||
[1;36;40mport[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A port variable with integer default value.
|
||||
[1mDefault[0m: 8080
|
||||
|
34
tests/docs/base/00_6regexp.sh
Normal file
34
tests/docs/base/00_6regexp.sh
Normal file
|
@ -0,0 +1,34 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var:
|
||||
description: a first variable
|
||||
regexp: ^#(?:[0-9a-f]{3}){1,2}$
|
||||
default: '#a1a1a1'
|
||||
test:
|
||||
- '#b1b1b1'
|
||||
- '#b2b2b2'
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var[0m
|
||||
[1;36;40mregexp[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A first variable.
|
||||
[1mValidator[0m: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$"
|
||||
[1mDefault[0m: #a1a1a1
|
||||
[1mExamples[0m:
|
||||
|
||||
|
||||
[1;33m • [0m#b1b1b1
|
||||
[1;33m • [0m#b2b2b2
|
||||
[1;33m [0m|
|
53
tests/docs/base/00_6string.sh
Normal file
53
tests/docs/base/00_6string.sh
Normal file
|
@ -0,0 +1,53 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var1: # the first variable
|
||||
var2:
|
||||
description: the second variable
|
||||
default:
|
||||
var3:
|
||||
description: the third variable
|
||||
type: string
|
||||
var4: value # the forth variable
|
||||
var5:
|
||||
description: the fifth variable
|
||||
default: value
|
||||
var6:
|
||||
description: the sixth variable
|
||||
type: string
|
||||
default: value
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m The first variable.
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m The second variable.
|
||||
[1mrougail.var3[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m The third variable.
|
||||
[1mrougail.var4[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The forth variable.
|
||||
[1mDefault[0m: value
|
||||
[1mrougail.var5[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The fifth variable.
|
||||
[1mDefault[0m: value
|
||||
[1mrougail.var6[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The sixth variable.
|
||||
[1mDefault[0m: value
|
||||
|
31
tests/docs/base/00_7choice_quote.sh
Normal file
31
tests/docs/base/00_7choice_quote.sh
Normal file
|
@ -0,0 +1,31 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.0'
|
||||
var:
|
||||
type: choice
|
||||
description: A choice
|
||||
default: quote'
|
||||
choices:
|
||||
- quote'
|
||||
- quote"
|
||||
- quote"'
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var[0m
|
||||
[1;36;40mchoice[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A choice.
|
||||
[1mChoices[0m:
|
||||
|
||||
|
||||
[1;33m • [0mquote' ← (default)
|
||||
[1;33m • [0mquote"
|
||||
[1;33m • [0mquote"' |
|
30
tests/docs/base/00_7help_quote.sh
Normal file
30
tests/docs/base/00_7help_quote.sh
Normal file
|
@ -0,0 +1,30 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.0'
|
||||
var1:
|
||||
description: the first variable
|
||||
help: message with '
|
||||
var2:
|
||||
description: the second variable
|
||||
help: message with "
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m The first variable.
|
||||
Message with '.
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m The second variable.
|
||||
Message with ".
|
||||
|
22
tests/docs/base/00_7value_doublequote.sh
Normal file
22
tests/docs/base/00_7value_doublequote.sh
Normal file
|
@ -0,0 +1,22 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a variable
|
||||
default: quote"
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A variable.
|
||||
[1mDefault[0m: quote"
|
||||
|
22
tests/docs/base/00_7value_doublequote2.sh
Normal file
22
tests/docs/base/00_7value_doublequote2.sh
Normal file
|
@ -0,0 +1,22 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a variable
|
||||
default: quote'"
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A variable.
|
||||
[1mDefault[0m: quote'"
|
||||
|
23
tests/docs/base/00_7value_doublequote3.sh
Normal file
23
tests/docs/base/00_7value_doublequote3.sh
Normal file
|
@ -0,0 +1,23 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
|
||||
variable:
|
||||
description: a variable
|
||||
default: quote\"\'
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A variable.
|
||||
[1mDefault[0m: quote"'
|
||||
|
22
tests/docs/base/00_7value_quote.sh
Normal file
22
tests/docs/base/00_7value_quote.sh
Normal file
|
@ -0,0 +1,22 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.0'
|
||||
variable:
|
||||
description: a variable
|
||||
default: quote'
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A variable.
|
||||
[1mDefault[0m: quote'
|
||||
|
29
tests/docs/base/00_8calculation_information.sh
Normal file
29
tests/docs/base/00_8calculation_information.sh
Normal file
|
@ -0,0 +1,29 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a variable
|
||||
default:
|
||||
jinja: |
|
||||
{{test_information }}
|
||||
params:
|
||||
test_information:
|
||||
type: information
|
||||
information: test_information
|
||||
description: get information test_information
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A variable.
|
||||
[1mDefault[0m: get information test_information.
|
||||
|
84
tests/docs/base/00_8test.sh
Normal file
84
tests/docs/base/00_8test.sh
Normal file
|
@ -0,0 +1,84 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
|
||||
var1:
|
||||
description: the first variable
|
||||
test:
|
||||
- test
|
||||
|
||||
var2:
|
||||
description: the second variable
|
||||
test:
|
||||
- test
|
||||
default: value
|
||||
|
||||
var3:
|
||||
description: the third variable
|
||||
test:
|
||||
- test1
|
||||
- test2
|
||||
|
||||
var4:
|
||||
description: the forth variable
|
||||
test:
|
||||
-
|
||||
- test1
|
||||
- test2
|
||||
mandatory: false
|
||||
|
||||
var5:
|
||||
description: the fifth variable
|
||||
type: boolean
|
||||
test:
|
||||
- false
|
||||
|
||||
var6:
|
||||
description: the sixth variable
|
||||
multi: true
|
||||
test:
|
||||
- test1
|
||||
- test2
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m The first variable.
|
||||
[1mExample[0m: test
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The second variable.
|
||||
[1mDefault[0m: value
|
||||
[1mExample[0m: test
|
||||
[1mrougail.var3[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m The third variable.
|
||||
[1mExamples[0m:
|
||||
|
||||
|
||||
[1;33m • [0mtest1
|
||||
[1;33m • [0mtest2
|
||||
[1;33m [0m| | [1mrougail.var4[0m [1;36;40mstring[0m [1;36;40mstandard[0m
|
||||
[1;33m [0m| The forth variable. [1mExamples[0m:
|
||||
[1;33m • [0mnull
|
||||
[1;33m • [0mtest1
|
||||
[1;33m • [0mtest2
|
||||
[1;33m [0m| | [1mrougail.var5[0m [1;36;40mboolean[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m
|
||||
[1;33m [0m| The fifth variable. [1mDefault[0m: true [1mExample[0m: false
|
||||
[1;33m [0m| | [1mrougail.var6[0m [1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m
|
||||
[1;33m [0m| The sixth variable. [1mExamples[0m:
|
||||
[1;33m • [0mtest1
|
||||
[1;33m • [0mtest2
|
||||
[1;33m [0m|
|
42
tests/docs/base/00_9choice_variable_multi.sh
Normal file
42
tests/docs/base/00_9choice_variable_multi.sh
Normal file
|
@ -0,0 +1,42 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
variable1:
|
||||
description: a first variable
|
||||
type: choice
|
||||
multi: true
|
||||
choices:
|
||||
- val1
|
||||
- val2
|
||||
variable2:
|
||||
description: a second variable
|
||||
type: choice
|
||||
multi: true
|
||||
mandatory: false
|
||||
choices:
|
||||
- val1
|
||||
- val2
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable1[0m
|
||||
[1;36;40mchoice[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m A first variable.
|
||||
[1mChoices[0m:
|
||||
|
||||
|
||||
[1;33m • [0mval1
|
||||
[1;33m • [0mval2
|
||||
[1;33m [0m| | [1mrougail.variable2[0m [1;36;40mchoice[0m [1;36;40mstandard[0m [1;36;40munique[0m [1;36;40mmultiple[0m
|
||||
[1;33m [0m| A second variable. [1mChoices[0m:
|
||||
[1;33m • [0mval1
|
||||
[1;33m • [0mval2
|
||||
[1;33m [0m|
|
42
tests/docs/base/00_9choice_variables.sh
Normal file
42
tests/docs/base/00_9choice_variables.sh
Normal file
|
@ -0,0 +1,42 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
source_variable_1: val1 # the first source variable
|
||||
source_variable_2: val2 # the second source variable
|
||||
my_variable:
|
||||
description: a variable
|
||||
type: choice
|
||||
choices:
|
||||
- variable: _.source_variable_1
|
||||
- variable: _.source_variable_2
|
||||
default: val1
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.source_variable_1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The first source variable.
|
||||
[1mDefault[0m: val1
|
||||
[1mrougail.source_variable_2[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The second source variable.
|
||||
[1mDefault[0m: val2
|
||||
[1mrougail.my_variable[0m
|
||||
[1;36;40mchoice[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A variable.
|
||||
[1mChoices[0m:
|
||||
|
||||
|
||||
[1;33m • [0mthe value of the variable "rougail.source_variable_1".
|
||||
[1;33m • [0mthe value of the variable "rougail.source_variable_2". [1mDefault[0m: val1
|
||||
[1;33m [0m|
|
31
tests/docs/base/00_9default_calculation.sh
Normal file
31
tests/docs/base/00_9default_calculation.sh
Normal file
|
@ -0,0 +1,31 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
|
||||
variable:
|
||||
description: a variable
|
||||
default:
|
||||
jinja: |
|
||||
{{ param1 }}_{{ param2 }}_{{ param3 }}_{{ param4 }}
|
||||
params:
|
||||
param1: string
|
||||
param2: 1
|
||||
param3: true
|
||||
param4:
|
||||
description: concat all parameters
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A variable.
|
||||
[1mDefault[0m: concat all parameters.
|
||||
|
29
tests/docs/base/00_9default_calculation_information.sh
Normal file
29
tests/docs/base/00_9default_calculation_information.sh
Normal file
|
@ -0,0 +1,29 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var:
|
||||
description: a variable
|
||||
default:
|
||||
jinja: '{{ information }}'
|
||||
params:
|
||||
information:
|
||||
type: information
|
||||
information: test_information
|
||||
variable: _.var
|
||||
description: returns the information
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A variable.
|
||||
[1mDefault[0m: returns the information.
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var1: # a first variable
|
||||
var2:
|
||||
description: a second variable
|
||||
default:
|
||||
jinja: |
|
||||
{{ information }}
|
||||
params:
|
||||
information:
|
||||
type: information
|
||||
information: test_information
|
||||
variable: _.var1
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m A first variable.
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A second variable.
|
||||
[1mDefault[0m: depends on a calculation.
|
||||
|
33
tests/docs/base/00_9default_calculation_multi_optional.sh
Normal file
33
tests/docs/base/00_9default_calculation_multi_optional.sh
Normal file
|
@ -0,0 +1,33 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: 1.1
|
||||
my_variable:
|
||||
default: val1
|
||||
my_calculated_variable:
|
||||
multi: true
|
||||
default:
|
||||
- variable: _.my_variable
|
||||
optional: true
|
||||
- variable: _.my_variable_unexists
|
||||
optional: true
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.my_variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m My_variable.
|
||||
[1mDefault[0m: val1
|
||||
[1mrougail.my_calculated_variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m My_calculated_variable.
|
||||
[1mDefault[0m: the value of the variable "rougail.my_variable".
|
||||
|
33
tests/docs/base/00_9default_calculation_multi_optional2.sh
Normal file
33
tests/docs/base/00_9default_calculation_multi_optional2.sh
Normal file
|
@ -0,0 +1,33 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: 1.1
|
||||
my_variable:
|
||||
default: val1
|
||||
my_calculated_variable:
|
||||
multi: true
|
||||
default:
|
||||
- variable: _.my_variable_unexists
|
||||
optional: true
|
||||
- variable: _.my_variable
|
||||
optional: true
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.my_variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m My_variable.
|
||||
[1mDefault[0m: val1
|
||||
[1mrougail.my_calculated_variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m My_calculated_variable.
|
||||
[1mDefault[0m: the value of the variable "rougail.my_variable".
|
||||
|
22
tests/docs/base/00_9default_calculation_optional.sh
Normal file
22
tests/docs/base/00_9default_calculation_optional.sh
Normal file
|
@ -0,0 +1,22 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: 1.1
|
||||
my_calculated_variable:
|
||||
multi: true
|
||||
default:
|
||||
variable: _.my_variable
|
||||
optional: true
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.my_calculated_variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m My_calculated_variable.
|
||||
|
35
tests/docs/base/00_9default_calculation_optional_exists.sh
Normal file
35
tests/docs/base/00_9default_calculation_optional_exists.sh
Normal file
|
@ -0,0 +1,35 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: 1.1
|
||||
my_variable:
|
||||
multi: true
|
||||
default:
|
||||
- val1
|
||||
- val2
|
||||
my_calculated_variable:
|
||||
multi: true
|
||||
default:
|
||||
variable: _.my_variable
|
||||
optional: true
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.my_variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m My_variable.
|
||||
[1mDefault[0m:
|
||||
|
||||
|
||||
[1;33m • [0mval1
|
||||
[1;33m • [0mval2
|
||||
[1;33m [0m| | [1mrougail.my_calculated_variable[0m [1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m
|
||||
[1;33m [0m| My_calculated_variable. [1mDefault[0m: the value of the variable "rougail.my_variable".
|
||||
[1;33m [0m|
|
42
tests/docs/base/00_9default_calculation_param_optional.sh
Normal file
42
tests/docs/base/00_9default_calculation_param_optional.sh
Normal file
|
@ -0,0 +1,42 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var1:
|
||||
description: a first variable
|
||||
default:
|
||||
jinja: '{% if var2 is defined %} {{ var2 }} {% elif var3 is defined %} {{ var3
|
||||
}} {% elif var4 is defined %} {{ var4 }} {% else %} {{ _.var2 }} {% endif %} '
|
||||
params:
|
||||
var2:
|
||||
variable: _.var2
|
||||
optional: true
|
||||
var3:
|
||||
variable: _.var3
|
||||
optional: true
|
||||
var4:
|
||||
variable: _.unknown_family.var
|
||||
optional: true
|
||||
description: returns a value
|
||||
mandatory: false
|
||||
var2: no # a second variable
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m A first variable.
|
||||
[1mDefault[0m: returns a value.
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A second variable.
|
||||
[1mDefault[0m: no
|
||||
|
29
tests/docs/base/00_9default_information_other_variable.sh
Normal file
29
tests/docs/base/00_9default_information_other_variable.sh
Normal file
|
@ -0,0 +1,29 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var1: # a first variable
|
||||
var2:
|
||||
description: a second variable
|
||||
default:
|
||||
type: information
|
||||
information: test_information
|
||||
variable: _.var1
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m A first variable.
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A second variable.
|
||||
[1mDefault[0m: the value of the information "test_information" of the variable "rougail.var1".
|
||||
|
31
tests/docs/base/00_9default_integer.sh
Normal file
31
tests/docs/base/00_9default_integer.sh
Normal file
|
@ -0,0 +1,31 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var:
|
||||
description: a variable
|
||||
default: 9
|
||||
choices:
|
||||
jinja: |
|
||||
{% for item in trange(0, 10) %}
|
||||
{{ item }}
|
||||
{%- endfor %}
|
||||
return_type: number
|
||||
description: choice for 0 to 9
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var[0m
|
||||
[1;36;40mchoice[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A variable.
|
||||
[1mChoices[0m: choice for 0 to 9.
|
||||
[1mDefault[0m: 9
|
||||
|
|
@ -1 +1 @@
|
|||
{"rougail": {"type": "namespace", "informations": {"paths": ["rougail"], "names": ["rougail"], "description": "Rougail", "properties": [{"type": "mode", "name": "standard"}]}, "children": {"variable": {"type": "variable", "default": "rougail", "properties": [{"type": "type", "name": "string"}, {"type": "mode", "name": "standard"}, {"type": "property", "name": "mandatory"}], "paths": ["rougail.variable"], "names": ["variable"], "descriptions": ["A variable."]}}}, "extra": {"type": "namespace", "informations": {"paths": ["extra"], "names": ["extra"], "properties": [{"type": "mode", "name": "standard"}]}, "children": {"variable": {"type": "variable", "default": "return no.", "properties": [{"type": "type", "name": "string"}, {"type": "mode", "name": "standard"}, {"type": "property", "name": "mandatory"}], "paths": ["extra.variable"], "names": ["variable"], "descriptions": ["A variable."]}}}}
|
||||
{"rougail": {"type": "namespace", "informations": {"paths": ["rougail"], "names": ["rougail"], "description": "Rougail", "properties": [{"type": "mode", "name": "standard"}]}, "children": {"variable": {"type": "variable", "default": "rougail", "properties": [{"type": "type", "name": "string"}, {"type": "mode", "name": "standard"}, {"type": "property", "name": "mandatory"}], "paths": ["rougail.variable"], "names": ["variable"], "descriptions": ["A variable."]}}}, "extra": {"type": "namespace", "informations": {"paths": ["extra"], "names": ["extra"], "description": "extra", "properties": [{"type": "mode", "name": "standard"}]}, "children": {"variable": {"type": "variable", "default": "return no.", "properties": [{"type": "type", "name": "string"}, {"type": "mode", "name": "standard"}, {"type": "property", "name": "mandatory"}], "paths": ["extra.variable"], "names": ["variable"], "descriptions": ["A variable."]}}}}
|
45
tests/docs/base/00_9extra.sh
Normal file
45
tests/docs/base/00_9extra.sh
Normal file
|
@ -0,0 +1,45 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
variable: rougail # a variable
|
||||
```
|
||||
# dictionaries/extra/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a variable
|
||||
default:
|
||||
jinja: no
|
||||
description: return no
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A variable.
|
||||
[1mDefault[0m: rougail
|
||||
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "extra"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mextra.variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A variable.
|
||||
[1mDefault[0m: return no.
|
||||
|
|
@ -1 +1 @@
|
|||
{"rougail": {"type": "namespace", "informations": {"paths": ["rougail"], "names": ["rougail"], "description": "Rougail", "properties": [{"type": "mode", "name": "standard"}]}, "children": {"variable": {"type": "variable", "default": "value", "properties": [{"type": "type", "name": "string"}, {"type": "mode", "name": "standard"}, {"type": "property", "name": "mandatory"}], "paths": ["rougail.variable"], "names": ["variable"], "descriptions": ["A variable."]}}}, "extra": {"type": "namespace", "informations": {"paths": ["extra"], "names": ["extra"], "properties": [{"type": "mode", "name": "standard"}]}, "children": {"variable1": {"type": "variable", "default": "the value of the variable \"rougail.variable\".", "properties": [{"type": "type", "name": "string"}, {"type": "mode", "name": "standard"}, {"type": "property", "name": "mandatory"}], "paths": ["extra.variable1"], "names": ["variable1"], "descriptions": ["A first variable."]}, "variable2": {"type": "variable", "default": "copy the value of rougail.variable.", "properties": [{"type": "type", "name": "string"}, {"type": "mode", "name": "standard"}, {"type": "property", "name": "mandatory"}], "paths": ["extra.variable2"], "names": ["variable2"], "descriptions": ["A second variable."]}, "variable3": {"type": "variable", "default": "copy the value of rougail.variable.", "properties": [{"type": "type", "name": "string"}, {"type": "mode", "name": "standard"}, {"type": "property", "name": "mandatory"}], "paths": ["extra.variable3"], "names": ["variable3"], "descriptions": ["A third variable."]}}}}
|
||||
{"rougail": {"type": "namespace", "informations": {"paths": ["rougail"], "names": ["rougail"], "description": "Rougail", "properties": [{"type": "mode", "name": "standard"}]}, "children": {"variable": {"type": "variable", "default": "value", "properties": [{"type": "type", "name": "string"}, {"type": "mode", "name": "standard"}, {"type": "property", "name": "mandatory"}], "paths": ["rougail.variable"], "names": ["variable"], "descriptions": ["A variable."]}}}, "extra": {"type": "namespace", "informations": {"paths": ["extra"], "names": ["extra"], "description": "extra", "properties": [{"type": "mode", "name": "standard"}]}, "children": {"variable1": {"type": "variable", "default": "the value of the variable \"rougail.variable\".", "properties": [{"type": "type", "name": "string"}, {"type": "mode", "name": "standard"}, {"type": "property", "name": "mandatory"}], "paths": ["extra.variable1"], "names": ["variable1"], "descriptions": ["A first variable."]}, "variable2": {"type": "variable", "default": "copy the value of rougail.variable.", "properties": [{"type": "type", "name": "string"}, {"type": "mode", "name": "standard"}, {"type": "property", "name": "mandatory"}], "paths": ["extra.variable2"], "names": ["variable2"], "descriptions": ["A second variable."]}, "variable3": {"type": "variable", "default": "copy the value of rougail.variable.", "properties": [{"type": "type", "name": "string"}, {"type": "mode", "name": "standard"}, {"type": "property", "name": "mandatory"}], "paths": ["extra.variable3"], "names": ["variable3"], "descriptions": ["A third variable."]}}}}
|
69
tests/docs/base/00_9extra_calculation.sh
Normal file
69
tests/docs/base/00_9extra_calculation.sh
Normal file
|
@ -0,0 +1,69 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
variable: value # a variable
|
||||
```
|
||||
# dictionaries/extra/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
variable1:
|
||||
description: a first variable
|
||||
default:
|
||||
variable: rougail.variable
|
||||
variable2:
|
||||
description: a second variable
|
||||
default:
|
||||
jinja: |
|
||||
{{ rougail.variable }}
|
||||
description: copy the value of rougail.variable
|
||||
variable3:
|
||||
description: a third variable
|
||||
default:
|
||||
jinja: |
|
||||
{{ variable }}
|
||||
params:
|
||||
variable:
|
||||
variable: rougail.variable
|
||||
description: copy the value of rougail.variable
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A variable.
|
||||
[1mDefault[0m: value
|
||||
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "extra"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mextra.variable1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A first variable.
|
||||
[1mDefault[0m: the value of the variable "rougail.variable".
|
||||
[1mextra.variable2[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A second variable.
|
||||
[1mDefault[0m: copy the value of rougail.variable.
|
||||
[1mextra.variable3[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A third variable.
|
||||
[1mDefault[0m: copy the value of rougail.variable.
|
||||
|
88
tests/docs/base/01_6boolean_multi.sh
Normal file
88
tests/docs/base/01_6boolean_multi.sh
Normal file
|
@ -0,0 +1,88 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var1: # the first variable
|
||||
- true
|
||||
var2:
|
||||
description: the second variable
|
||||
default:
|
||||
- true
|
||||
var3:
|
||||
description: the third variable
|
||||
type: boolean
|
||||
default:
|
||||
- true
|
||||
var4: # the forth variable
|
||||
- false
|
||||
var5:
|
||||
description: the fifth variable
|
||||
default:
|
||||
- false
|
||||
var6:
|
||||
description: the sixth variable
|
||||
type: boolean
|
||||
default:
|
||||
- false
|
||||
|
||||
var7:
|
||||
description: the seventh variable
|
||||
multi: true
|
||||
default:
|
||||
- true
|
||||
var8:
|
||||
description: the eighth variable
|
||||
type: boolean
|
||||
multi: true
|
||||
default:
|
||||
- true
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mboolean[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The first variable.
|
||||
[1mDefault[0m: true
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mboolean[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The second variable.
|
||||
[1mDefault[0m: true
|
||||
[1mrougail.var3[0m
|
||||
[1;36;40mboolean[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The third variable.
|
||||
[1mDefault[0m: true
|
||||
[1mrougail.var4[0m
|
||||
[1;36;40mboolean[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The forth variable.
|
||||
[1mDefault[0m: false
|
||||
[1mrougail.var5[0m
|
||||
[1;36;40mboolean[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The fifth variable.
|
||||
[1mDefault[0m: false
|
||||
[1mrougail.var6[0m
|
||||
[1;36;40mboolean[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The sixth variable.
|
||||
[1mDefault[0m: false
|
||||
[1mrougail.var7[0m
|
||||
[1;36;40mboolean[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The seventh variable.
|
||||
[1mDefault[0m: true
|
||||
[1mrougail.var8[0m
|
||||
[1;36;40mboolean[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The eighth variable.
|
||||
[1mDefault[0m: true
|
||||
|
31
tests/docs/base/01_6custom_multi.sh
Normal file
31
tests/docs/base/01_6custom_multi.sh
Normal file
|
@ -0,0 +1,31 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
custom1:
|
||||
description: a first custom variable
|
||||
type: custom
|
||||
multi: true
|
||||
custom2:
|
||||
description: a second custom variable
|
||||
type: custom
|
||||
default:
|
||||
- value
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.custom1[0m
|
||||
[1;36;40mcustom[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m A first custom variable.
|
||||
[1mrougail.custom2[0m
|
||||
[1;36;40mcustom[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m A second custom variable.
|
||||
[1mDefault[0m: value
|
||||
|
88
tests/docs/base/01_6float_multi.sh
Normal file
88
tests/docs/base/01_6float_multi.sh
Normal file
|
@ -0,0 +1,88 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var1: # the first variable
|
||||
- 0.0
|
||||
var2:
|
||||
description: the second variable
|
||||
default:
|
||||
- 0.0
|
||||
var3:
|
||||
description: the third variable
|
||||
type: float
|
||||
default:
|
||||
- 0.0
|
||||
var4: # the forth variable
|
||||
- 10.1
|
||||
var5:
|
||||
description: the fifth variable
|
||||
default:
|
||||
- 10.1
|
||||
var6:
|
||||
description: the sixth variable
|
||||
type: float
|
||||
default:
|
||||
- 10.1
|
||||
|
||||
var7:
|
||||
description: the seventh variable
|
||||
multi: true
|
||||
default:
|
||||
- 0.0
|
||||
var8:
|
||||
description: the eighth variable
|
||||
type: float
|
||||
multi: true
|
||||
default:
|
||||
- 0.0
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mfloat[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The first variable.
|
||||
[1mDefault[0m: 0.0
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mfloat[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The second variable.
|
||||
[1mDefault[0m: 0.0
|
||||
[1mrougail.var3[0m
|
||||
[1;36;40mfloat[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The third variable.
|
||||
[1mDefault[0m: 0.0
|
||||
[1mrougail.var4[0m
|
||||
[1;36;40mfloat[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The forth variable.
|
||||
[1mDefault[0m: 10.1
|
||||
[1mrougail.var5[0m
|
||||
[1;36;40mfloat[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The fifth variable.
|
||||
[1mDefault[0m: 10.1
|
||||
[1mrougail.var6[0m
|
||||
[1;36;40mfloat[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The sixth variable.
|
||||
[1mDefault[0m: 10.1
|
||||
[1mrougail.var7[0m
|
||||
[1;36;40mfloat[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The seventh variable.
|
||||
[1mDefault[0m: 0.0
|
||||
[1mrougail.var8[0m
|
||||
[1;36;40mfloat[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The eighth variable.
|
||||
[1mDefault[0m: 0.0
|
||||
|
88
tests/docs/base/01_6number_multi.sh
Normal file
88
tests/docs/base/01_6number_multi.sh
Normal file
|
@ -0,0 +1,88 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var1: # the first variable
|
||||
- 0
|
||||
var2:
|
||||
description: the second variable
|
||||
default:
|
||||
- 0
|
||||
var3:
|
||||
description: the third variable
|
||||
type: number
|
||||
default:
|
||||
- 0
|
||||
var4: # the forth variable
|
||||
- 10
|
||||
var5:
|
||||
description: the fifth variable
|
||||
default:
|
||||
- 10
|
||||
var6:
|
||||
description: the sixth variable
|
||||
type: number
|
||||
default:
|
||||
- 10
|
||||
|
||||
var7:
|
||||
description: the seventh variable
|
||||
multi: true
|
||||
default:
|
||||
- 0
|
||||
var8:
|
||||
description: the eighth variable
|
||||
type: number
|
||||
multi: true
|
||||
default:
|
||||
- 0
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mnumber[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The first variable.
|
||||
[1mDefault[0m: 0
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mnumber[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The second variable.
|
||||
[1mDefault[0m: 0
|
||||
[1mrougail.var3[0m
|
||||
[1;36;40mnumber[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The third variable.
|
||||
[1mDefault[0m: 0
|
||||
[1mrougail.var4[0m
|
||||
[1;36;40mnumber[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The forth variable.
|
||||
[1mDefault[0m: 10
|
||||
[1mrougail.var5[0m
|
||||
[1;36;40mnumber[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The fifth variable.
|
||||
[1mDefault[0m: 10
|
||||
[1mrougail.var6[0m
|
||||
[1;36;40mnumber[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The sixth variable.
|
||||
[1mDefault[0m: 10
|
||||
[1mrougail.var7[0m
|
||||
[1;36;40mnumber[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The seventh variable.
|
||||
[1mDefault[0m: 0
|
||||
[1mrougail.var8[0m
|
||||
[1;36;40mnumber[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The eighth variable.
|
||||
[1mDefault[0m: 0
|
||||
|
29
tests/docs/base/01_6string_empty.sh
Normal file
29
tests/docs/base/01_6string_empty.sh
Normal file
|
@ -0,0 +1,29 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var1:
|
||||
description: the second variable
|
||||
empty: false
|
||||
default:
|
||||
- value
|
||||
-
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The second variable.
|
||||
[1mDefault[0m:
|
||||
|
||||
|
||||
[1;33m • [0mvalue
|
||||
[1;33m • [0mnull
|
||||
[1;33m [0m|
|
78
tests/docs/base/01_6string_multi.sh
Normal file
78
tests/docs/base/01_6string_multi.sh
Normal file
|
@ -0,0 +1,78 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var1: [] # the first variable
|
||||
var2:
|
||||
description: the second variable
|
||||
default: []
|
||||
var3:
|
||||
description: the third variable
|
||||
type: string
|
||||
var4: # the forth variable
|
||||
- value
|
||||
var5:
|
||||
description: the fifth variable
|
||||
default:
|
||||
- value
|
||||
var6:
|
||||
description: the sixth variable
|
||||
type: string
|
||||
default:
|
||||
- value
|
||||
|
||||
var7:
|
||||
description: the seventh variable
|
||||
multi: true
|
||||
default:
|
||||
- value
|
||||
var8:
|
||||
description: the eighth variable
|
||||
type: string
|
||||
multi: true
|
||||
default:
|
||||
- value
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The first variable.
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The second variable.
|
||||
[1mrougail.var3[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m The third variable.
|
||||
[1mrougail.var4[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The forth variable.
|
||||
[1mDefault[0m: value
|
||||
[1mrougail.var5[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The fifth variable.
|
||||
[1mDefault[0m: value
|
||||
[1mrougail.var6[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The sixth variable.
|
||||
[1mDefault[0m: value
|
||||
[1mrougail.var7[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The seventh variable.
|
||||
[1mDefault[0m: value
|
||||
[1mrougail.var8[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m The eighth variable.
|
||||
[1mDefault[0m: value
|
||||
|
23
tests/docs/base/01_7value_multi_doublequote.sh
Normal file
23
tests/docs/base/01_7value_multi_doublequote.sh
Normal file
|
@ -0,0 +1,23 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a variable
|
||||
default:
|
||||
- quote"
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m A variable.
|
||||
[1mDefault[0m: quote"
|
||||
|
23
tests/docs/base/01_7value_multi_doublequote2.sh
Normal file
23
tests/docs/base/01_7value_multi_doublequote2.sh
Normal file
|
@ -0,0 +1,23 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a variable
|
||||
default:
|
||||
- quote'"
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m A variable.
|
||||
[1mDefault[0m: quote'"
|
||||
|
23
tests/docs/base/01_7value_multi_quote.sh
Normal file
23
tests/docs/base/01_7value_multi_quote.sh
Normal file
|
@ -0,0 +1,23 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a variable
|
||||
default:
|
||||
- quote'
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m A variable.
|
||||
[1mDefault[0m: quote'
|
||||
|
30
tests/docs/base/01_8calculation_information_multi.sh
Normal file
30
tests/docs/base/01_8calculation_information_multi.sh
Normal file
|
@ -0,0 +1,30 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a variable
|
||||
multi: true
|
||||
default:
|
||||
jinja: |
|
||||
{{test_information }}
|
||||
params:
|
||||
test_information:
|
||||
type: information
|
||||
information: test_information
|
||||
description: get information test_information
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m A variable.
|
||||
[1mDefault[0m: get information test_information.
|
||||
|
34
tests/docs/base/01_9choice_variable_multi.sh
Normal file
34
tests/docs/base/01_9choice_variable_multi.sh
Normal file
|
@ -0,0 +1,34 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
variable1: # a first variable
|
||||
- a
|
||||
- b
|
||||
- c
|
||||
variable2:
|
||||
description: a second variable
|
||||
choices:
|
||||
variable: _.variable1
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m A first variable.
|
||||
[1mDefault[0m:
|
||||
|
||||
|
||||
[1;33m • [0ma
|
||||
[1;33m • [0mb
|
||||
[1;33m • [0mc
|
||||
[1;33m [0m| | [1mrougail.variable2[0m [1;36;40mchoice[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m
|
||||
[1;33m [0m| A second variable. [1mChoices[0m: the value of the variable "rougail.variable1".
|
||||
[1;33m [0m|
|
28
tests/docs/base/04_0type_param.sh
Normal file
28
tests/docs/base/04_0type_param.sh
Normal file
|
@ -0,0 +1,28 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
int:
|
||||
description: A limited number
|
||||
default: 10
|
||||
params:
|
||||
min_number: 0
|
||||
max_number: 100
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.int[0m
|
||||
[1;36;40mnumber[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A limited number.
|
||||
[1mValidators[0m:
|
||||
|
||||
|
||||
[1;33m • [0mthe minimum value is 0
|
||||
[1;33m • [0mthe maximum value is 100 [1mDefault[0m: 10 |
|
23
tests/docs/base/04_1auto_save.sh
Normal file
23
tests/docs/base/04_1auto_save.sh
Normal file
|
@ -0,0 +1,23 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: 1.1
|
||||
variable:
|
||||
description: an auto save variable
|
||||
auto_save: true
|
||||
default: no
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m [1;36;40mauto modified[0m An auto save variable.
|
||||
[1mDefault[0m: no
|
||||
|
30
tests/docs/base/04_1auto_save_and_calculated.sh
Normal file
30
tests/docs/base/04_1auto_save_and_calculated.sh
Normal file
|
@ -0,0 +1,30 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: 1.1
|
||||
var1: no # a first variable
|
||||
var2:
|
||||
description: a second variable
|
||||
auto_save: true
|
||||
default:
|
||||
variable: _.var1
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A first variable.
|
||||
[1mDefault[0m: no
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m [1;36;40mauto modified[0m A second variable.
|
||||
[1mDefault[0m: the value of the variable "rougail.var1".
|
||||
|
39
tests/docs/base/04_1auto_save_and_calculated_hidden.sh
Normal file
39
tests/docs/base/04_1auto_save_and_calculated_hidden.sh
Normal file
|
@ -0,0 +1,39 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var1: no # a first variable
|
||||
var2:
|
||||
description: a second variable
|
||||
auto_save: true
|
||||
hidden:
|
||||
jinja: |
|
||||
{% if _.var1 == "yes" %}
|
||||
_.var1 is yes
|
||||
{% endif %}
|
||||
description: only if the variable var1 has value "yes"
|
||||
default:
|
||||
jinja: yes
|
||||
description: the value is always yes
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A first variable.
|
||||
[1mDefault[0m: no
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m [1;3;36;40mhidden[0m [1;36;40mauto modified[0m A second variable.
|
||||
[1mDefault[0m: the value is always yes.
|
||||
[1mHidden[0m: only if the variable var1 has value "yes".
|
||||
|
12
tests/docs/base/04_1auto_save_and_hidden.sh
Normal file
12
tests/docs/base/04_1auto_save_and_hidden.sh
Normal file
|
@ -0,0 +1,12 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var:
|
||||
description: autosave variable
|
||||
auto_save: true
|
||||
hidden: true
|
||||
default: yes
|
||||
mandatory: false
|
||||
```
|
47
tests/docs/base/04_1default_calculation_hidden.sh
Normal file
47
tests/docs/base/04_1default_calculation_hidden.sh
Normal file
|
@ -0,0 +1,47 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: 1.1
|
||||
|
||||
var1:
|
||||
description: a first variable
|
||||
default: value
|
||||
|
||||
var2:
|
||||
description: a second variable
|
||||
disabled:
|
||||
variable: _.var1
|
||||
when: value
|
||||
|
||||
var3:
|
||||
description: a third variable
|
||||
default:
|
||||
jinja: |
|
||||
{% if _.var1 == 'value' or _.var2 == 'blah' %}
|
||||
value
|
||||
{% endif %}
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A first variable.
|
||||
[1mDefault[0m: value
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m [1;3;36;40mdisabled[0m A second variable.
|
||||
[1mDisabled[0m: when the variable "rougail.var1" has the value "value".
|
||||
[1mrougail.var3[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A third variable.
|
||||
[1mDefault[0m: depends on a calculation.
|
||||
|
47
tests/docs/base/04_1default_calculation_hidden_2.sh
Normal file
47
tests/docs/base/04_1default_calculation_hidden_2.sh
Normal file
|
@ -0,0 +1,47 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: 1.1
|
||||
|
||||
var1:
|
||||
description: a first variable
|
||||
default: value
|
||||
|
||||
var2:
|
||||
description: a second variable
|
||||
disabled:
|
||||
variable: _.var1
|
||||
when: value
|
||||
|
||||
var3:
|
||||
description: a third variable
|
||||
default:
|
||||
jinja: |
|
||||
{% if _.var2 is propertyerror %}
|
||||
value
|
||||
{% endif %}
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A first variable.
|
||||
[1mDefault[0m: value
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m [1;3;36;40mdisabled[0m A second variable.
|
||||
[1mDisabled[0m: when the variable "rougail.var1" has the value "value".
|
||||
[1mrougail.var3[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A third variable.
|
||||
[1mDefault[0m: depends on a calculation.
|
||||
|
46
tests/docs/base/04_5disabled_calculation.sh
Normal file
46
tests/docs/base/04_5disabled_calculation.sh
Normal file
|
@ -0,0 +1,46 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
condition: no # a conditional variable
|
||||
variable1:
|
||||
description: a first variable
|
||||
disabled:
|
||||
jinja: |
|
||||
{% if _.condition == "yes" %}
|
||||
condition is yes
|
||||
{% endif %}
|
||||
description: if condition is egal to "yes"
|
||||
variable2:
|
||||
description: a second variable
|
||||
disabled:
|
||||
jinja: |
|
||||
{% if _.condition == "yes" %}
|
||||
condition is yes
|
||||
{% endif %}
|
||||
description: if condition is egal to "yes"
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.condition[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A conditional variable.
|
||||
[1mDefault[0m: no
|
||||
[1mrougail.variable1[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m [1;3;36;40mdisabled[0m A first variable.
|
||||
[1mDisabled[0m: if condition is egal to "yes".
|
||||
[1mrougail.variable2[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m [1;3;36;40mdisabled[0m A second variable.
|
||||
[1mDisabled[0m: if condition is egal to "yes".
|
||||
|
61
tests/docs/base/04_5disabled_calculation_default.sh
Normal file
61
tests/docs/base/04_5disabled_calculation_default.sh
Normal file
|
@ -0,0 +1,61 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
|
||||
condition: no # a condition
|
||||
|
||||
var1:
|
||||
description: a first variable
|
||||
disabled:
|
||||
jinja: |
|
||||
{% if _.condition == "yes" %}
|
||||
condition is yes
|
||||
{% endif %}
|
||||
description: if condition is yes
|
||||
default:
|
||||
jinja: |
|
||||
{{ _.condition }}
|
||||
description: the value of condition
|
||||
|
||||
var2:
|
||||
description: a second variable
|
||||
disabled:
|
||||
jinja: |
|
||||
{% if rougail.condition == "yes" %}
|
||||
condition is yes
|
||||
{% endif %}
|
||||
description: if condition is yes
|
||||
default:
|
||||
jinja: |
|
||||
{{ rougail.condition }}
|
||||
description: the value of condition
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.condition[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A condition.
|
||||
[1mDefault[0m: no
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;3;36;40mdisabled[0m A first variable.
|
||||
[1mDefault[0m: the value of condition.
|
||||
[1mDisabled[0m: if condition is yes.
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;3;36;40mdisabled[0m A second variable.
|
||||
[1mDefault[0m: the value of condition.
|
||||
[1mDisabled[0m: if condition is yes.
|
||||
|
60
tests/docs/base/04_5disabled_calculation_optional.sh
Normal file
60
tests/docs/base/04_5disabled_calculation_optional.sh
Normal file
|
@ -0,0 +1,60 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
condition: no # a condition
|
||||
var1:
|
||||
description: a first variable
|
||||
hidden:
|
||||
jinja: |
|
||||
{% if unknown is not defined %}
|
||||
unknown is undefined
|
||||
{% elif unknown == "no" %}
|
||||
unknown is no
|
||||
{% endif %}
|
||||
params:
|
||||
unknown:
|
||||
variable: _.unknown
|
||||
optional: true
|
||||
description: calculation from an unknown variable
|
||||
mandatory: false
|
||||
var2:
|
||||
description: a second variable
|
||||
hidden:
|
||||
jinja: |
|
||||
{% if condition is not defined %}
|
||||
condition is undefined
|
||||
{% elif condition == "no" %}
|
||||
condition is no
|
||||
{% endif %}
|
||||
params:
|
||||
condition:
|
||||
variable: _.condition
|
||||
optional: true
|
||||
description: calculation from an condition variable
|
||||
mandatory: false
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.condition[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A condition.
|
||||
[1mDefault[0m: no
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;3;36;40mhidden[0m A first variable.
|
||||
[1mHidden[0m: calculation from an unknown variable.
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;3;36;40mhidden[0m A second variable.
|
||||
[1mHidden[0m: calculation from an condition variable.
|
||||
|
29
tests/docs/base/04_5disabled_calculation_variable.sh
Normal file
29
tests/docs/base/04_5disabled_calculation_variable.sh
Normal file
|
@ -0,0 +1,29 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
condition: false # a condition
|
||||
variable:
|
||||
description: a variable
|
||||
disabled:
|
||||
variable: _.condition
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.condition[0m
|
||||
[1;36;40mboolean[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A condition.
|
||||
[1mDefault[0m: false
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m [1;3;36;40mdisabled[0m A variable.
|
||||
[1mDisabled[0m: when the variable "rougail.condition" has the value "true".
|
||||
|
29
tests/docs/base/04_5disabled_calculation_variable2.sh
Normal file
29
tests/docs/base/04_5disabled_calculation_variable2.sh
Normal file
|
@ -0,0 +1,29 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
condition: true # a condition
|
||||
variable:
|
||||
description: a variable
|
||||
disabled:
|
||||
variable: _.condition
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.condition[0m
|
||||
[1;36;40mboolean[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A condition.
|
||||
[1mDefault[0m: true
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m [1;3;36;40mdisabled[0m A variable.
|
||||
[1mDisabled[0m: when the variable "rougail.condition" has the value "true".
|
||||
|
30
tests/docs/base/04_5disabled_calculation_variable3.sh
Normal file
30
tests/docs/base/04_5disabled_calculation_variable3.sh
Normal file
|
@ -0,0 +1,30 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
condition: yes # a condition
|
||||
variable:
|
||||
description: a variable
|
||||
disabled:
|
||||
variable: _.condition
|
||||
when: yes
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.condition[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A condition.
|
||||
[1mDefault[0m: yes
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m [1;3;36;40mdisabled[0m A variable.
|
||||
[1mDisabled[0m: when the variable "rougail.condition" has the value "yes".
|
||||
|
30
tests/docs/base/04_5disabled_calculation_variable4.sh
Normal file
30
tests/docs/base/04_5disabled_calculation_variable4.sh
Normal file
|
@ -0,0 +1,30 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
condition: yes # a condition
|
||||
variable:
|
||||
description: a variable
|
||||
disabled:
|
||||
variable: _.condition
|
||||
when_not: yes
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.condition[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A condition.
|
||||
[1mDefault[0m: yes
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m [1;3;36;40mdisabled[0m A variable.
|
||||
[1mDisabled[0m: when the variable "rougail.condition" hasn't the value "yes".
|
||||
|
52
tests/docs/base/04_5hidden_calculation.sh
Normal file
52
tests/docs/base/04_5hidden_calculation.sh
Normal file
|
@ -0,0 +1,52 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
condition: no # the condition
|
||||
var1:
|
||||
description: a first variable
|
||||
default: no
|
||||
hidden:
|
||||
jinja: |
|
||||
{% if _.condition == "yes" %}
|
||||
condition is yes
|
||||
{% endif %}
|
||||
description: if condition is yes
|
||||
var2:
|
||||
description: a second variable
|
||||
default: no
|
||||
hidden:
|
||||
jinja: |
|
||||
{% if rougail.condition == "yes" %}
|
||||
condition is yes
|
||||
{% endif %}
|
||||
description: if condition is yes
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.condition[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m The condition.
|
||||
[1mDefault[0m: no
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;3;36;40mhidden[0m A first variable.
|
||||
[1mDefault[0m: no
|
||||
[1mHidden[0m: if condition is yes.
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;3;36;40mhidden[0m A second variable.
|
||||
[1mDefault[0m: no
|
||||
[1mHidden[0m: if condition is yes.
|
||||
|
58
tests/docs/base/04_5hidden_calculation2.sh
Normal file
58
tests/docs/base/04_5hidden_calculation2.sh
Normal file
|
@ -0,0 +1,58 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
condition: no # a condition
|
||||
var1:
|
||||
description: a first variable
|
||||
hidden:
|
||||
jinja: |
|
||||
{% if _.condition != "yes" %}
|
||||
condition is yes
|
||||
{% endif %}
|
||||
description: if condition is yes
|
||||
default:
|
||||
jinja: |
|
||||
{{ _.condition }}
|
||||
description: the value of condition
|
||||
var2:
|
||||
description: a second variable
|
||||
hidden:
|
||||
jinja: |
|
||||
{% if rougail.condition != "yes" %}
|
||||
condition is yes
|
||||
{% endif %}
|
||||
description: if condition is yes
|
||||
default:
|
||||
jinja: |
|
||||
{{ rougail.condition }}
|
||||
description: the value of condition
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.condition[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A condition.
|
||||
[1mDefault[0m: no
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;3;36;40mhidden[0m A first variable.
|
||||
[1mDefault[0m: the value of condition.
|
||||
[1mHidden[0m: if condition is yes.
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;3;36;40mhidden[0m A second variable.
|
||||
[1mDefault[0m: the value of condition.
|
||||
[1mHidden[0m: if condition is yes.
|
||||
|
|
@ -0,0 +1,58 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
condition: no # a condition
|
||||
var1:
|
||||
description: a first variable
|
||||
hidden:
|
||||
jinja: |
|
||||
{% if _.condition == "yes" %}
|
||||
condition is yes
|
||||
{% endif %}
|
||||
description: if condition is yes
|
||||
default:
|
||||
jinja: |
|
||||
{{ _.condition }}
|
||||
description: returns the condition value
|
||||
var2:
|
||||
description: a second variable
|
||||
hidden:
|
||||
jinja: |
|
||||
{% if rougail.condition == "yes" %}
|
||||
condition is yes
|
||||
{% endif %}
|
||||
description: if condition is yes
|
||||
default:
|
||||
jinja: |
|
||||
{{ rougail.condition }}
|
||||
description: returns the condition value
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.condition[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A condition.
|
||||
[1mDefault[0m: no
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;3;36;40mhidden[0m A first variable.
|
||||
[1mDefault[0m: returns the condition value.
|
||||
[1mHidden[0m: if condition is yes.
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;3;36;40mhidden[0m A second variable.
|
||||
[1mDefault[0m: returns the condition value.
|
||||
[1mHidden[0m: if condition is yes.
|
||||
|
28
tests/docs/base/04_5validators.sh
Normal file
28
tests/docs/base/04_5validators.sh
Normal file
|
@ -0,0 +1,28 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
int:
|
||||
description: A number
|
||||
type: number
|
||||
validators:
|
||||
- jinja: |
|
||||
{% if _.int > 100 %}
|
||||
value is too high
|
||||
{% endif %}
|
||||
description: the max value is 100
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.int[0m
|
||||
[1;36;40mnumber[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m A number.
|
||||
[1mValidator[0m: the max value is 100.
|
||||
|
41
tests/docs/base/04_5validators_differ.sh
Normal file
41
tests/docs/base/04_5validators_differ.sh
Normal file
|
@ -0,0 +1,41 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var1:
|
||||
description: a first variable
|
||||
test:
|
||||
- another_value
|
||||
type: string
|
||||
default: oui
|
||||
validators:
|
||||
- jinja: |
|
||||
{% if _.var1 == _.var2 %}
|
||||
var1 must be different than var2
|
||||
{% endif %}
|
||||
description: var1 must be different than var2
|
||||
var2: no # A second variable
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A first variable.
|
||||
[1mValidator[0m: var1 must be different than var2.
|
||||
[1mDefault[0m: oui
|
||||
[1mExample[0m: another_value
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A second variable.
|
||||
[1mDefault[0m: no
|
||||
|
37
tests/docs/base/04_5validators_multi.sh
Normal file
37
tests/docs/base/04_5validators_multi.sh
Normal file
|
@ -0,0 +1,37 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: 1.1
|
||||
var1:
|
||||
description: a second variable
|
||||
multi: true
|
||||
default:
|
||||
- no
|
||||
- yes
|
||||
validators:
|
||||
- jinja: |
|
||||
{% if _.var1 | length > 9 %}
|
||||
length must be less than 10
|
||||
{% endif %}
|
||||
description: check length is less than 10
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m A second variable.
|
||||
[1mValidator[0m: check length is less than 10.
|
||||
[1mDefault[0m:
|
||||
|
||||
|
||||
[1;33m • [0mno
|
||||
[1;33m • [0myes
|
||||
[1;33m [0m|
|
46
tests/docs/base/04_5validators_multi2.sh
Normal file
46
tests/docs/base/04_5validators_multi2.sh
Normal file
|
@ -0,0 +1,46 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: 1.1
|
||||
var1:
|
||||
description: a second variable
|
||||
multi: true
|
||||
default:
|
||||
- no
|
||||
- yes
|
||||
test:
|
||||
- val1
|
||||
- val2
|
||||
validators:
|
||||
- params:
|
||||
values:
|
||||
variable: _.var1
|
||||
whole: true
|
||||
jinja: |
|
||||
{% if values | length > 2 %}
|
||||
length must be less than 3
|
||||
{% endif %}
|
||||
description: check length is less than 3
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m A second variable.
|
||||
[1mValidator[0m: check length is less than 3.
|
||||
[1mDefault[0m:
|
||||
|
||||
|
||||
[1;33m • [0mno
|
||||
[1;33m • [0myes [1mExamples[0m:
|
||||
[1;33m • [0mval1
|
||||
[1;33m • [0mval2
|
||||
[1;33m [0m|
|
24
tests/docs/base/05_0multi_not_uniq.sh
Normal file
24
tests/docs/base/05_0multi_not_uniq.sh
Normal file
|
@ -0,0 +1,24 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var1:
|
||||
description: a variable
|
||||
unique: false
|
||||
default:
|
||||
- non
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40mmultiple[0m A variable.
|
||||
[1mDefault[0m: non
|
||||
|
24
tests/docs/base/05_0multi_uniq.sh
Normal file
24
tests/docs/base/05_0multi_uniq.sh
Normal file
|
@ -0,0 +1,24 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a variable
|
||||
unique: true
|
||||
default:
|
||||
- non
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m [1;36;40munique[0m [1;36;40mmultiple[0m A variable.
|
||||
[1mDefault[0m: non
|
||||
|
11
tests/docs/base/12_1auto_save_expert.sh
Normal file
11
tests/docs/base/12_1auto_save_expert.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: 1.1
|
||||
var:
|
||||
description: a variable
|
||||
auto_save: true
|
||||
mode: advanced
|
||||
default: no
|
||||
```
|
28
tests/docs/base/16_0redefine_description.sh
Normal file
28
tests/docs/base/16_0redefine_description.sh
Normal file
|
@ -0,0 +1,28 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var:
|
||||
description: Redefine description
|
||||
```
|
||||
# dictionaries/rougail/01-redefine.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var:
|
||||
description: Redefined
|
||||
redefine: true
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m Redefined.
|
||||
|
37
tests/docs/base/16_2family_redefine_calculation.sh
Normal file
37
tests/docs/base/16_2family_redefine_calculation.sh
Normal file
|
@ -0,0 +1,37 @@
|
|||
# dictionaries/rougail/01-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.0'
|
||||
family:
|
||||
redefine: true
|
||||
disabled:
|
||||
jinja: |
|
||||
true
|
||||
```
|
||||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.0'
|
||||
family:
|
||||
var1:
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
[1;4mrougail.family[0m
|
||||
|
||||
[1;36;40mbasic[0m [1;3;36;40mdisabled[0m
|
||||
|
||||
[1mDisabled[0m: depends on a calculation.
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.family.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m Var1.
|
||||
|
17
tests/docs/base/16_2family_redefine_disabled.sh
Normal file
17
tests/docs/base/16_2family_redefine_disabled.sh
Normal file
|
@ -0,0 +1,17 @@
|
|||
# dictionaries/rougail/01-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.0'
|
||||
family:
|
||||
redefine: true
|
||||
disabled: true
|
||||
```
|
||||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.0'
|
||||
family:
|
||||
var1:
|
||||
```
|
35
tests/docs/base/16_5exists_nonexists.sh
Normal file
35
tests/docs/base/16_5exists_nonexists.sh
Normal file
|
@ -0,0 +1,35 @@
|
|||
# dictionaries/rougail/01-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var2:
|
||||
description: a new variable
|
||||
exists: false
|
||||
default: yes
|
||||
```
|
||||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var1: no # a variable
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.var1[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A variable.
|
||||
[1mDefault[0m: no
|
||||
[1mrougail.var2[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A new variable.
|
||||
[1mDefault[0m: yes
|
||||
|
26
tests/docs/base/16_5exists_redefine.sh
Normal file
26
tests/docs/base/16_5exists_redefine.sh
Normal file
|
@ -0,0 +1,26 @@
|
|||
# dictionaries/rougail/01-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var1:
|
||||
redefine: true
|
||||
exists: true
|
||||
default: yes
|
||||
var2:
|
||||
description: a second variable
|
||||
redefine: true
|
||||
exists: true
|
||||
default: yes
|
||||
```
|
||||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
var1:
|
||||
description: a first variable
|
||||
hidden: true
|
||||
default: no
|
||||
mandatory: false
|
||||
```
|
35
tests/docs/base/16_5redefine_calculation.sh
Normal file
35
tests/docs/base/16_5redefine_calculation.sh
Normal file
|
@ -0,0 +1,35 @@
|
|||
# dictionaries/rougail/01-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
redefine: true
|
||||
default:
|
||||
jinja: yes
|
||||
description: returns yes
|
||||
```
|
||||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a variable
|
||||
default:
|
||||
jinja: no
|
||||
description: returns no
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A variable.
|
||||
[1mDefault[0m: returns yes.
|
||||
|
39
tests/docs/base/16_5redefine_choice.sh
Normal file
39
tests/docs/base/16_5redefine_choice.sh
Normal file
|
@ -0,0 +1,39 @@
|
|||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a variable
|
||||
choices:
|
||||
- a
|
||||
- b
|
||||
- c
|
||||
```
|
||||
# dictionaries/rougail/01-redefine.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.0'
|
||||
variable:
|
||||
redefine: true
|
||||
choices:
|
||||
- a
|
||||
- b
|
||||
```
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃ [1mVariables for "Rougail"[0m ┃
|
||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||
|
||||
|
||||
|
||||
|
||||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
[1mrougail.variable[0m
|
||||
[1;36;40mchoice[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m A variable.
|
||||
[1mChoices[0m:
|
||||
|
||||
|
||||
[1;33m • [0ma
|
||||
[1;33m • [0mb |
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue