fix: update command aliases for consistency and clarity #82
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Remove short command codes, keep descriptive aliases only
Summary
Removed short command codes (e.g.,
m:t:b,m:s:c) from all CLI commands. These are unnecessary sincebin/magentoandmagerun2provide auto-completion. Only descriptive aliases are now used.Changes
Removed short codes:
m:t:b→ removed (usefrontend:build)m:t:c→ removed (usefrontend:clean)m:t:l→ removed (usefrontend:list)m:t:w→ removed (usefrontend:watch)m:s:c→ removed (usesystem:check)m:s:v→ removed (usesystem:version)m:h:t→ removed (usehyva:tokens)m:h:c:c→ removed (usehyva:check)Current aliases structure:
frontend:*(build, clean, list, watch)system:*(check, version)hyva:*(tokens, check)Updated files
src/Console/Command/README.md(root) - Updated examplessrc/README.md- Updated command tableWhy
Short codes are redundant - Magento CLI and magerun2 already provide command auto-completion. Descriptive aliases improve readability and are easier to remember.