mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Add new regen-conf API in tools category
This commit is contained in:
parent
8085838072
commit
42b41aa934
1 changed files with 26 additions and 0 deletions
|
@ -1623,6 +1623,32 @@ tools:
|
||||||
full: --force
|
full: --force
|
||||||
action: store_true
|
action: store_true
|
||||||
|
|
||||||
|
### tools_regen_conf()
|
||||||
|
regen-conf:
|
||||||
|
action_help: Regenerate the configuration file(s)
|
||||||
|
api: PUT /tools/regenconf
|
||||||
|
arguments:
|
||||||
|
names:
|
||||||
|
help: Categories to regenerate configuration of (all by default)
|
||||||
|
nargs: "*"
|
||||||
|
metavar: NAME
|
||||||
|
-d:
|
||||||
|
full: --with-diff
|
||||||
|
help: Show differences in case of configuration changes
|
||||||
|
action: store_true
|
||||||
|
-f:
|
||||||
|
full: --force
|
||||||
|
help: Override all manual modifications in configuration files
|
||||||
|
action: store_true
|
||||||
|
-n:
|
||||||
|
full: --dry-run
|
||||||
|
help: Show what would have been regenerated
|
||||||
|
action: store_true
|
||||||
|
-p:
|
||||||
|
full: --list-pending
|
||||||
|
help: List pending configuration files and exit
|
||||||
|
action: store_true
|
||||||
|
|
||||||
subcategories:
|
subcategories:
|
||||||
|
|
||||||
migrations:
|
migrations:
|
||||||
|
|
Loading…
Add table
Reference in a new issue