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_]+$'
|
||||
- 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
6
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
|
||||
|
|
Loading…
Add table
Reference in a new issue