mirror of
https://github.com/YunoHost-Apps/fider_ynh.git
synced 2024-09-03 18:36:11 +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"],
|
"choices": ["Yes", "No"],
|
||||||
"default": "Yes"
|
"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