Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename composer commands with : usage #176

Open
vjik opened this issue Apr 9, 2024 · 3 comments
Open

Rename composer commands with : usage #176

vjik opened this issue Apr 9, 2024 · 3 comments

Comments

@vjik
Copy link
Member

vjik commented Apr 9, 2024

          > > > 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 #175 (comment)

@vjik vjik changed the title Rename composer command with : usage Rename composer commands with : usage Apr 9, 2024
@samdark
Copy link
Member

samdark commented Apr 13, 2024

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

Sounds good to me.

Or... could be even:

config:info
config:copy
config:rebuild

@vjik
Copy link
Member Author

vjik commented Apr 14, 2024

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

@samdark
Copy link
Member

samdark commented Apr 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants