[doc] Review the help of app_install arguments

This commit is contained in:
Jérôme Lebleu 2014-07-25 18:32:37 +02:00
parent 9ec3e29edb
commit 601c280a7a
2 changed files with 5 additions and 5 deletions

View file

@ -373,7 +373,7 @@ app:
- '^[a-z0-9_]+$'
- pattern_username
### app_install() TODO: Write help
### app_install()
install:
action_help: Install apps
api: POST /apps
@ -383,7 +383,7 @@ app:
lock: false
arguments:
app:
help: App to install
help: Name, local path or git URL of the app to install
-l:
full: --label
help: Custom name for the app

6
app.py
View file

@ -379,9 +379,9 @@ def app_install(auth, app, label=None, args=None):
Install apps
Keyword argument:
label
app -- App to install
args -- Serialize arguments of installation
app -- Name, local path or git URL of the app to install
label -- Custom name for the app
args -- Serialize arguments for app installation
"""
from yunohost.hook import hook_add, hook_remove, hook_exec