2014-10-20 19:55:53 +03:00
|
|
|
{
|
2014-10-20 20:32:56 +03:00
|
|
|
"name": "YunoHost example app",
|
2014-10-20 19:55:53 +03:00
|
|
|
"id": "ynhexample",
|
|
|
|
"description": {
|
|
|
|
"en": "Example package for Yunohost applications."
|
|
|
|
},
|
|
|
|
"licence": "GPL-2",
|
|
|
|
"developer": {
|
|
|
|
"name": "John doe",
|
|
|
|
"email": "john.doe@example.com",
|
|
|
|
"url": "http://example.com"
|
|
|
|
},
|
|
|
|
"multi_instance": "false",
|
|
|
|
"arguments": {
|
|
|
|
"install" : [
|
|
|
|
{
|
|
|
|
"name": "domain",
|
|
|
|
"ask": {
|
|
|
|
"en": "Choose a domain for ynhexample"
|
|
|
|
},
|
|
|
|
"example": "example.com"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "path",
|
|
|
|
"ask": {
|
|
|
|
"en": "Choose a path for ynhexample"
|
|
|
|
},
|
2014-10-20 20:32:56 +03:00
|
|
|
"example": "/example",
|
|
|
|
"default": "/example"
|
2014-10-20 19:55:53 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "admin",
|
|
|
|
"ask": {
|
|
|
|
"en": "Choose an admin user"
|
|
|
|
},
|
|
|
|
"example": "johndoe"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "is_public",
|
|
|
|
"ask": {
|
|
|
|
"en": "Is it a public application ?"
|
|
|
|
},
|
|
|
|
"choices": ["Yes", "No"],
|
|
|
|
"default": "Yes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|