From 601c280a7a754168018772aa7c4c15a3bb4ccf9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Fri, 25 Jul 2014 18:32:37 +0200 Subject: [PATCH] [doc] Review the help of app_install arguments --- actionsmap/yunohost.yml | 4 ++-- app.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/actionsmap/yunohost.yml b/actionsmap/yunohost.yml index 75899f3cf..cfd51caf7 100644 --- a/actionsmap/yunohost.yml +++ b/actionsmap/yunohost.yml @@ -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 diff --git a/app.py b/app.py index ed7e5bdac..090d7d05b 100644 --- a/app.py +++ b/app.py @@ -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