config icon indicating copy to clipboard operation
config copied to clipboard

Rename composer commands with `:` usage

Open vjik opened this issue 1 year ago • 3 comments

          > > > Add composer command yii-config-info

What about to use namespace instead? yii-config:info yii:config:info yii:config-info

This is not consistent with other exists commands (yii-config-copy, yii-config-rebuild).

So we can aliases for them and make them deprecated for the further versions

Originally posted by @xepozz in https://github.com/yiisoft/config/issues/175#issuecomment-2041573208

vjik avatar Apr 09 '24 18:04 vjik

yii:config:info
yii:config:copy
yii:config:rebuild

Sounds good to me.

Or... could be even:

config:info
config:copy
config:rebuild

samdark avatar Apr 13 '24 22:04 samdark

These commands user can not change, so they should have unique names. So i like one of these:

yii-config:info
yii-config:copy
yii-config:rebuild

or

yii:config:info
yii:config:copy
yii:config:rebuild

vjik avatar Apr 14 '24 09:04 vjik

@vjik your 2nd variant has a benefit of being able to type y:c:r.

samdark avatar Apr 14 '24 10:04 samdark