From 26f2741a7e001b472aeadea3aa117c569ea0b55b Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Fri, 22 Jun 2018 04:53:52 +0200 Subject: [PATCH] [mod] mark actions commands as experimental --- src/yunohost/app.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/yunohost/app.py b/src/yunohost/app.py index 83dd49323..bef227db7 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -1363,14 +1363,12 @@ def app_change_label(auth, app, new_label): app_ssowatconf(auth) -# ACTIONS todo list -# * save actions.json -# commands: -# yunohost app action list $app -# yunohost app action run $app $action -d parameters -# docstring +# actions todo list: +# * docstring def app_action_list(app_id): + logger.warning(m18n.n('experimental_feature')) + installed = _is_installed(app_id) if not installed: raise MoulinetteError(errno.ENOPKG, @@ -1389,6 +1387,8 @@ def app_action_list(app_id): def app_action_run(app_id, action, args=None): + logger.warning(m18n.n('experimental_feature')) + from yunohost.hook import hook_exec import tempfile