[enh] Use boolean for is_public and add a language choice argument

This commit is contained in:
Jérôme Lebleu
2016-04-26 15:57:57 +02:00
parent f34527ba01
commit e4befaebe5
3 changed files with 13 additions and 10 deletions
+8 -8
View File
@@ -50,21 +50,21 @@
},
{
"name": "is_public",
"type": "boolean",
"ask": {
"en": "Is it a public application?",
"fr": "Est-ce une application publique ?"
},
"choices": ["Yes", "No"],
"default": "Yes"
"default": true
},
{
"name": "my_boolean",
"type": "boolean",
"ask": {
"en": "Do you want to check this boolean ?",
"fr": "Tu veux cocher ce booléen ?"
"name": "language",
"ask": {
"en": "Choose the application language",
"fr": "Choisissez la langue de l'application"
},
"default": true
"choices": ["fr", "en"],
"default": "fr"
}
]
}