1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-06-20 01:17:49 +02:00

Remove overly verbose command role rules.

The default rules work for most commands so use them. Exceptions for the repo option remain.
This commit is contained in:
David Steele
2025-11-10 19:54:05 +02:00
parent 2f4765c6fa
commit 40381c2fe8
+30 -132
View File
@@ -1687,75 +1687,31 @@ option:
required: false required: false
allow-range: [1, 256] allow-range: [1, 256]
command: command:
annotate: annotate: {}
command-role: archive-get: {}
main: {}
remote: {}
archive-get:
command-role:
async: {}
main: {}
local: {}
remote: {}
archive-push: archive-push:
command-role: command-role:
remote: {} remote: {}
backup: backup: {}
command-role:
main: {}
local: {}
remote: {}
check: check:
command-role: command-role:
remote: {} remote: {}
expire: expire: {}
command-role: info: {}
main: {} manifest: {}
remote: {} repo-get: {}
info: repo-ls: {}
command-role: repo-put: {}
main: {} repo-rm: {}
remote: {} restore: {}
manifest:
command-role:
main: {}
remote: {}
repo-get:
command-role:
main: {}
remote: {}
repo-ls:
command-role:
main: {}
remote: {}
repo-put:
command-role:
main: {}
remote: {}
repo-rm:
command-role:
main: {}
remote: {}
restore:
command-role:
main: {}
local: {}
remote: {}
stanza-create: stanza-create:
command-role: command-role:
remote: {} remote: {}
stanza-delete: stanza-delete: {}
command-role:
main: {}
remote: {}
stanza-upgrade: stanza-upgrade:
command-role: command-role:
remote: {} remote: {}
verify: verify: {}
command-role:
main: {}
local: {}
remote: {}
repo-local: repo-local:
section: global section: global
@@ -1801,81 +1757,23 @@ option:
- s3 - s3
- sftp: HAVE_LIBSSH2 - sftp: HAVE_LIBSSH2
command: command:
annotate: annotate: {}
command-role: archive-get: {}
main: {} archive-push: {}
remote: {} backup: {}
archive-get: check: {}
command-role: expire: {}
async: {} info: {}
main: {} manifest: {}
local: {} repo-get: {}
remote: {} repo-ls: {}
archive-push: repo-put: {}
command-role: repo-rm: {}
async: {} restore: {}
main: {} stanza-create: {}
local: {} stanza-delete: {}
remote: {} stanza-upgrade: {}
backup: verify: {}
command-role:
main: {}
local: {}
remote: {}
check:
command-role:
main: {}
remote: {}
expire:
command-role:
main: {}
remote: {}
info:
command-role:
main: {}
remote: {}
manifest:
command-role:
main: {}
remote: {}
repo-get:
command-role:
main: {}
remote: {}
repo-ls:
command-role:
main: {}
remote: {}
repo-put:
command-role:
main: {}
remote: {}
repo-rm:
command-role:
main: {}
remote: {}
restore:
command-role:
main: {}
local: {}
remote: {}
stanza-create:
command-role:
main: {}
remote: {}
stanza-delete:
command-role:
main: {}
remote: {}
stanza-upgrade:
command-role:
main: {}
remote: {}
verify:
command-role:
main: {}
local: {}
remote: {}
deprecate: deprecate:
repo-type: {} repo-type: {}