Merge pull request #347 from YunoHost/enh-simpler-lock-system

[enh] Simpler lock system
This commit is contained in:
Laurent Peuch 2017-08-18 04:13:15 +02:00 committed by GitHub
commit b77d58a671

View file

@ -50,7 +50,6 @@ _global:
uri: ldap://localhost:389 uri: ldap://localhost:389
base_dn: dc=yunohost,dc=org base_dn: dc=yunohost,dc=org
argument_auth: true argument_auth: true
lock: true
arguments: arguments:
-v: -v:
full: --version full: --version
@ -248,7 +247,6 @@ domain:
action_help: Create a custom domain action_help: Create a custom domain
api: POST /domains api: POST /domains
configuration: configuration:
lock: false
authenticate: all authenticate: all
arguments: arguments:
domain: domain:
@ -267,7 +265,6 @@ domain:
action_help: Delete domains action_help: Delete domains
api: DELETE /domains/<domain> api: DELETE /domains/<domain>
configuration: configuration:
lock: false
authenticate: all authenticate: all
arguments: arguments:
domain: domain:
@ -280,7 +277,6 @@ domain:
action_help: Generate DNS configuration for a domain action_help: Generate DNS configuration for a domain
api: GET /domains/<domain>/dns api: GET /domains/<domain>/dns
configuration: configuration:
lock: false
authenticate: authenticate:
- api - api
arguments: arguments:
@ -487,7 +483,6 @@ app:
configuration: configuration:
authenticate: all authenticate: all
authenticator: ldap-anonymous authenticator: ldap-anonymous
lock: false
arguments: arguments:
app: app:
help: Name, local path or git URL of the app to install help: Name, local path or git URL of the app to install
@ -509,7 +504,6 @@ app:
configuration: configuration:
authenticate: all authenticate: all
authenticator: ldap-anonymous authenticator: ldap-anonymous
lock: false
arguments: arguments:
app: app:
help: App(s) to delete help: App(s) to delete
@ -521,7 +515,6 @@ app:
configuration: configuration:
authenticate: all authenticate: all
authenticator: ldap-anonymous authenticator: ldap-anonymous
lock: false
arguments: arguments:
app: app:
help: App(s) to upgrade (default all) help: App(s) to upgrade (default all)
@ -540,7 +533,6 @@ app:
configuration: configuration:
authenticate: all authenticate: all
authenticator: ldap-anonymous authenticator: ldap-anonymous
lock: false
arguments: arguments:
app: app:
help: Target app instance name help: Target app instance name
@ -717,8 +709,6 @@ backup:
create: create:
action_help: Create a backup local archive action_help: Create a backup local archive
api: POST /backup api: POST /backup
configuration:
lock: false
arguments: arguments:
-n: -n:
full: --name full: --name
@ -767,7 +757,6 @@ backup:
configuration: configuration:
authenticate: all authenticate: all
authenticator: ldap-anonymous authenticator: ldap-anonymous
lock: false
arguments: arguments:
name: name:
help: Name of the local backup archive help: Name of the local backup archive
@ -797,8 +786,6 @@ backup:
list: list:
action_help: List available local backup archives action_help: List available local backup archives
api: GET /backup/archives api: GET /backup/archives
configuration:
lock: false
arguments: arguments:
-i: -i:
full: --with-info full: --with-info
@ -813,8 +800,6 @@ backup:
info: info:
action_help: Show info about a local backup archive action_help: Show info about a local backup archive
api: GET /backup/archives/<name> api: GET /backup/archives/<name>
configuration:
lock: false
arguments: arguments:
name: name:
help: Name of the local backup archive help: Name of the local backup archive
@ -831,8 +816,6 @@ backup:
delete: delete:
action_help: Delete a backup archive action_help: Delete a backup archive
api: DELETE /backup/archives/<name> api: DELETE /backup/archives/<name>
configuration:
lock: false
arguments: arguments:
name: name:
help: Name of the archive to delete help: Name of the archive to delete
@ -1133,8 +1116,6 @@ service:
regen-conf: regen-conf:
action_help: Regenerate the configuration file(s) for a service action_help: Regenerate the configuration file(s) for a service
api: PUT /services/regenconf api: PUT /services/regenconf
configuration:
lock: false
deprecated_alias: deprecated_alias:
- regenconf - regenconf
arguments: arguments:
@ -1379,7 +1360,6 @@ tools:
- PUT /domains/main - PUT /domains/main
configuration: configuration:
authenticate: all authenticate: all
lock: false
arguments: arguments:
-n: -n:
full: --new-domain full: --new-domain
@ -1393,7 +1373,6 @@ tools:
api: POST /postinstall api: POST /postinstall
configuration: configuration:
authenticate: false authenticate: false
lock: false
arguments: arguments:
-d: -d:
full: --domain full: --domain
@ -1417,8 +1396,6 @@ tools:
update: update:
action_help: YunoHost update action_help: YunoHost update
api: PUT /update api: PUT /update
configuration:
lock: false
arguments: arguments:
--ignore-apps: --ignore-apps:
help: Ignore apps cache update and changelog help: Ignore apps cache update and changelog
@ -1434,7 +1411,6 @@ tools:
configuration: configuration:
authenticate: all authenticate: all
authenticator: ldap-anonymous authenticator: ldap-anonymous
lock: false
arguments: arguments:
--ignore-apps: --ignore-apps:
help: Ignore apps upgrade help: Ignore apps upgrade
@ -1450,7 +1426,6 @@ tools:
configuration: configuration:
authenticate: all authenticate: all
authenticator: ldap-anonymous authenticator: ldap-anonymous
lock: false
arguments: arguments:
-p: -p:
full: --private full: --private