mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
domain_push_config -> domain_registrar_push
This commit is contained in:
parent
dded1cb775
commit
5a93e0640d
3 changed files with 21 additions and 15 deletions
|
@ -439,16 +439,6 @@ domain:
|
||||||
help: Subscribe to the DynDNS service
|
help: Subscribe to the DynDNS service
|
||||||
action: store_true
|
action: store_true
|
||||||
|
|
||||||
### domain_push_config()
|
|
||||||
push-config:
|
|
||||||
action_help: Push DNS records to registrar
|
|
||||||
api: GET /domains/<domain>/push
|
|
||||||
arguments:
|
|
||||||
domain:
|
|
||||||
help: Domain name to add
|
|
||||||
extra:
|
|
||||||
pattern: *pattern_domain
|
|
||||||
|
|
||||||
### domain_remove()
|
### domain_remove()
|
||||||
remove:
|
remove:
|
||||||
action_help: Delete domains
|
action_help: Delete domains
|
||||||
|
@ -558,6 +548,7 @@ domain:
|
||||||
pattern: *pattern_domain
|
pattern: *pattern_domain
|
||||||
path:
|
path:
|
||||||
help: The path to check (e.g. /coffee)
|
help: The path to check (e.g. /coffee)
|
||||||
|
|
||||||
### domain_setting()
|
### domain_setting()
|
||||||
setting:
|
setting:
|
||||||
action_help: Set or get a domain setting value
|
action_help: Set or get a domain setting value
|
||||||
|
@ -576,6 +567,7 @@ domain:
|
||||||
full: --delete
|
full: --delete
|
||||||
help: Delete the key
|
help: Delete the key
|
||||||
action: store_true
|
action: store_true
|
||||||
|
|
||||||
subcategories:
|
subcategories:
|
||||||
registrar:
|
registrar:
|
||||||
subcategory_help: Manage domains registrars
|
subcategory_help: Manage domains registrars
|
||||||
|
@ -594,6 +586,7 @@ domain:
|
||||||
-a:
|
-a:
|
||||||
full: --args
|
full: --args
|
||||||
help: Serialized arguments for registrar API (i.e. "auth_token=TOKEN&auth_username=USER").
|
help: Serialized arguments for registrar API (i.e. "auth_token=TOKEN&auth_username=USER").
|
||||||
|
|
||||||
### domain_registrar_info()
|
### domain_registrar_info()
|
||||||
info:
|
info:
|
||||||
action_help: Display info about registrar settings used for a domain
|
action_help: Display info about registrar settings used for a domain
|
||||||
|
@ -603,10 +596,12 @@ domain:
|
||||||
help: Domain name
|
help: Domain name
|
||||||
extra:
|
extra:
|
||||||
pattern: *pattern_domain
|
pattern: *pattern_domain
|
||||||
|
|
||||||
### domain_registrar_list()
|
### domain_registrar_list()
|
||||||
list:
|
list:
|
||||||
action_help: List registrars configured by DNS zone
|
action_help: List registrars configured by DNS zone
|
||||||
api: GET /domains/registrars
|
api: GET /domains/registrars
|
||||||
|
|
||||||
### domain_registrar_catalog()
|
### domain_registrar_catalog()
|
||||||
catalog:
|
catalog:
|
||||||
action_help: List supported registrars API
|
action_help: List supported registrars API
|
||||||
|
@ -620,6 +615,17 @@ domain:
|
||||||
help: Display all details, including info to create forms
|
help: Display all details, including info to create forms
|
||||||
action: store_true
|
action: store_true
|
||||||
|
|
||||||
|
### domain_registrar_push()
|
||||||
|
push:
|
||||||
|
action_help: Push DNS records to registrar
|
||||||
|
api: PUT /domains/<domain>/registrar/push
|
||||||
|
arguments:
|
||||||
|
domain:
|
||||||
|
help: Domain name to push DNS conf for
|
||||||
|
extra:
|
||||||
|
pattern: *pattern_domain
|
||||||
|
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
# App #
|
# App #
|
||||||
#############################
|
#############################
|
||||||
|
|
|
@ -464,7 +464,7 @@ def domain_registrar_set(domain, registrar, args):
|
||||||
_set_registrar_settings(dns_zone, domain_registrar)
|
_set_registrar_settings(dns_zone, domain_registrar)
|
||||||
|
|
||||||
|
|
||||||
def domain_push_config(domain):
|
def domain_registrar_push(domain):
|
||||||
"""
|
"""
|
||||||
Send DNS records to the previously-configured registrar of the domain.
|
Send DNS records to the previously-configured registrar of the domain.
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -551,6 +551,6 @@ def domain_registrar_set(domain, registrar, args):
|
||||||
return yunohost.dns.domain_registrar_set(domain, registrar, args)
|
return yunohost.dns.domain_registrar_set(domain, registrar, args)
|
||||||
|
|
||||||
|
|
||||||
def domain_push_config(domain):
|
def domain_registrar_push(domain):
|
||||||
import yunohost.dns
|
import yunohost.dns
|
||||||
return yunohost.dns.domain_push_config(domain)
|
return yunohost.dns.domain_registrar_push(domain)
|
||||||
|
|
Loading…
Add table
Reference in a new issue