mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[doc] Review the help of app_install arguments
This commit is contained in:
parent
9ec3e29edb
commit
601c280a7a
2 changed files with 5 additions and 5 deletions
|
@ -373,7 +373,7 @@ app:
|
||||||
- '^[a-z0-9_]+$'
|
- '^[a-z0-9_]+$'
|
||||||
- pattern_username
|
- pattern_username
|
||||||
|
|
||||||
### app_install() TODO: Write help
|
### app_install()
|
||||||
install:
|
install:
|
||||||
action_help: Install apps
|
action_help: Install apps
|
||||||
api: POST /apps
|
api: POST /apps
|
||||||
|
@ -383,7 +383,7 @@ app:
|
||||||
lock: false
|
lock: false
|
||||||
arguments:
|
arguments:
|
||||||
app:
|
app:
|
||||||
help: App to install
|
help: Name, local path or git URL of the app to install
|
||||||
-l:
|
-l:
|
||||||
full: --label
|
full: --label
|
||||||
help: Custom name for the app
|
help: Custom name for the app
|
||||||
|
|
6
app.py
6
app.py
|
@ -379,9 +379,9 @@ def app_install(auth, app, label=None, args=None):
|
||||||
Install apps
|
Install apps
|
||||||
|
|
||||||
Keyword argument:
|
Keyword argument:
|
||||||
label
|
app -- Name, local path or git URL of the app to install
|
||||||
app -- App to install
|
label -- Custom name for the app
|
||||||
args -- Serialize arguments of installation
|
args -- Serialize arguments for app installation
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from yunohost.hook import hook_add, hook_remove, hook_exec
|
from yunohost.hook import hook_add, hook_remove, hook_exec
|
||||||
|
|
Loading…
Add table
Reference in a new issue