Task: #53687 Support instance-specific cfg write targets and add coverage V2 #4
1 changed files with 1 additions and 1 deletions
feat: add shortOption to siteDir
commit
6f1f78fc33
2
bin/cfg
2
bin/cfg
|
|
@ -105,7 +105,7 @@ $collection = (new Input\InputCollection())
|
||||||
->description('Path where the config/ directory of the package conf files is located, defaults to the working dir')
|
->description('Path where the config/ directory of the package conf files is located, defaults to the working dir')
|
||||||
) // }}}
|
) // }}}
|
||||||
|
|
||||||
->add( Input\InputTypeFactory::build('LongOption')->name('siteDir') // {{{
|
->add( Input\InputTypeFactory::build('LongOption')->name('siteDir')->short('s') // {{{
|
||||||
->flags(AbstractInputType::FLAG_OPTIONAL | Input\AbstractInputType::FLAG_VALUE_REQUIRED)
|
->flags(AbstractInputType::FLAG_OPTIONAL | Input\AbstractInputType::FLAG_VALUE_REQUIRED)
|
||||||
->description('Site/instance directory below config/. Accepts owner_xyz or config/owner_xyz')
|
->description('Site/instance directory below config/. Accepts owner_xyz or config/owner_xyz')
|
||||||
->validator(new Input\Validator(
|
->validator(new Input\Validator(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue