mirror of
https://github.com/YunoHost-Apps/laverna_ynh.git
synced 2024-09-03 19:36:06 +02:00
[enh] Add boolean argument example.
This commit is contained in:
parent
550c0573ca
commit
a5fbda0bc7
1 changed files with 9 additions and 0 deletions
|
@ -56,6 +56,15 @@
|
|||
},
|
||||
"choices": ["Yes", "No"],
|
||||
"default": "Yes"
|
||||
},
|
||||
{
|
||||
"name": "my_boolean",
|
||||
"type": "boolean",
|
||||
"ask": {
|
||||
"en": "Do you want to check this boolean ?",
|
||||
"fr": "Tu veux cocher ce booléen ?"
|
||||
},
|
||||
"default": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue