1
0
Fork 0
mirror of https://github.com/YunoHost/doc.git synced 2024-09-03 20:06:26 +02:00

[enh] Add doc about app and choices in manifest

This commit is contained in:
Zamentur aka ljf 2016-08-16 11:17:21 +02:00 committed by GitHub
parent ffa688b4d7
commit 91d7bdddfb

View file

@ -75,7 +75,8 @@ The `manifest.json` file defines the app's constants, a bunch of values that Yun
* **arguments**:
* **install**: argument for the YunoHost's administrator to enter at installation.
* **name**: argument identification.
* **type**: (optional) argument type among `domain`, `path`, `user`, `boolean` and `password`. The field will be hiden in the password case.
* **type**: (optional) argument type among `domain`, `path`, `user`, `app`, `boolean` and `password`. The field will be hiden in the password case.
* **choices** : (optional) restrict value to several choices.
* **optional** : (optional) field which indicate if this argument is optional. It can have `true` and `false` value.
* **ask**: question (at least in `en`) that you can translate.
* **example**: (optional) example value to help administrator to fill the input.