29 lines
2.8 KiB
Bash
29 lines
2.8 KiB
Bash
|
# 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[0m ┃
|
|||
|
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
|||
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|||
|
[1mint[0m
|
|||
|
[1;36;40mnumber[0m [1;36;40mbasic[0m [1;36;40mmandatory[0m A number.
|
|||
|
[1mValidator[0m: the max value is 100.
|
|||
|
|