mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Add yunohost domain config list
command
This commit is contained in:
parent
4876860b47
commit
503a5ed6d2
2 changed files with 10 additions and 5 deletions
|
@ -560,11 +560,6 @@ domain:
|
|||
list:
|
||||
action_help: Get settings for all domains
|
||||
api: GET /domains/list
|
||||
arguments:
|
||||
domain:
|
||||
help: Target domain
|
||||
extra:
|
||||
pattern: *pattern_domain
|
||||
|
||||
# domain_config_show
|
||||
show:
|
||||
|
|
|
@ -719,6 +719,16 @@ def _load_domain_settings():
|
|||
return new_domains
|
||||
|
||||
|
||||
def domain_config_list():
|
||||
"""
|
||||
Show settings of all domains
|
||||
|
||||
Keyword arguments:
|
||||
domain -- The domain name
|
||||
"""
|
||||
return _load_domain_settings()
|
||||
|
||||
|
||||
def domain_config_show(domain):
|
||||
"""
|
||||
Show settings of a domain
|
||||
|
|
Loading…
Add table
Reference in a new issue