mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] mark actions commands as experimental
This commit is contained in:
parent
2d0b5edd23
commit
26f2741a7e
1 changed files with 6 additions and 6 deletions
|
@ -1363,14 +1363,12 @@ def app_change_label(auth, app, new_label):
|
||||||
app_ssowatconf(auth)
|
app_ssowatconf(auth)
|
||||||
|
|
||||||
|
|
||||||
# ACTIONS todo list
|
# actions todo list:
|
||||||
# * save actions.json
|
# * docstring
|
||||||
# commands:
|
|
||||||
# yunohost app action list $app
|
|
||||||
# yunohost app action run $app $action -d parameters
|
|
||||||
# docstring
|
|
||||||
|
|
||||||
def app_action_list(app_id):
|
def app_action_list(app_id):
|
||||||
|
logger.warning(m18n.n('experimental_feature'))
|
||||||
|
|
||||||
installed = _is_installed(app_id)
|
installed = _is_installed(app_id)
|
||||||
if not installed:
|
if not installed:
|
||||||
raise MoulinetteError(errno.ENOPKG,
|
raise MoulinetteError(errno.ENOPKG,
|
||||||
|
@ -1389,6 +1387,8 @@ def app_action_list(app_id):
|
||||||
|
|
||||||
|
|
||||||
def app_action_run(app_id, action, args=None):
|
def app_action_run(app_id, action, args=None):
|
||||||
|
logger.warning(m18n.n('experimental_feature'))
|
||||||
|
|
||||||
from yunohost.hook import hook_exec
|
from yunohost.hook import hook_exec
|
||||||
import tempfile
|
import tempfile
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue