Task: #53687 Support instance-specific cfg write targets and add coverage V2 #4
1 changed files with 7 additions and 7 deletions
fix: remove Verua specific names using Settings specific
commit
5fdf1e2b7f
14
bin/cfg
14
bin/cfg
|
|
@ -261,27 +261,27 @@ $usage = Cli\manpage( basename(__FILE__), $version,
|
||||||
.PHP_EOL
|
.PHP_EOL
|
||||||
.'Advance usage:'
|
.'Advance usage:'
|
||||||
.PHP_EOL
|
.PHP_EOL
|
||||||
.'cfg write extension_name \'module:enabled=true\''
|
.'cfg write prefix \'module:enabled=true\''
|
||||||
.PHP_EOL
|
.PHP_EOL
|
||||||
.PHP_EOL
|
.PHP_EOL
|
||||||
.'#Instance write:'
|
.'#Site specific write:'
|
||||||
.PHP_EOL
|
.PHP_EOL
|
||||||
.'cfg write extension_name \'module:enabled=true\' --siteDir=owner_xyz'
|
.'cfg write prefix \'module:enabled=true\' --siteDir=owner_xyz'
|
||||||
.PHP_EOL
|
.PHP_EOL
|
||||||
.PHP_EOL
|
.PHP_EOL
|
||||||
.'#Batch write from JSON file:'
|
.'#Batch write from JSON file:'
|
||||||
.PHP_EOL
|
.PHP_EOL
|
||||||
.'cfg write extension_name --siteDir=owner_xyz -i /tmp/extension.json'
|
.'cfg write prefix --siteDir=owner_xyz -i /tmp/extension.json'
|
||||||
.PHP_EOL
|
.PHP_EOL
|
||||||
.PHP_EOL
|
.PHP_EOL
|
||||||
.'#Batch write from JSON string:'
|
.'#Batch write from JSON string:'
|
||||||
.PHP_EOL
|
.PHP_EOL
|
||||||
.'cfg write extension_name \'module={"enabled":true,"timeout":30,"label":"example"}\' --siteDir=owner_xyz'
|
.'cfg write prefix \'module={"enabled":true,"timeout":30,"label":"example"}\' --siteDir=owner_xyz'
|
||||||
.PHP_EOL
|
.PHP_EOL
|
||||||
|
alejandro.sosa marked this conversation as resolved
Outdated
|
|||||||
.PHP_EOL
|
.PHP_EOL
|
||||||
.'#Read merged value for an instance:'
|
.'#Read merged value for a site:'
|
||||||
.PHP_EOL
|
.PHP_EOL
|
||||||
.'cfg show extension_name module:enabled --siteDir=owner_xyz'
|
.'cfg show prefix module:enabled --siteDir=owner_xyz'
|
||||||
.PHP_EOL
|
.PHP_EOL
|
||||||
]
|
]
|
||||||
).PHP_EOL;
|
).PHP_EOL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue
our coding style would always put the opening curly bracket on a newline. I retain it specially important if the following codeblock is longer than a couple of lines