Description
Summary
Dear Magento Development Team,
I would like to report an important developer experience issue with the Magento CLI that significantly impacts the daily development workflow.
Problem
In the current Magento CLI version 2.4.8, the shortcut php bin/magento c:c
for the cache:clean
command is no longer available. Instead, developers must now type out the full command php bin/magento cache:clean
.
Impact on Developer Experience
This change results in:
- Reduced productivity: The cache clean command is used very frequently during development
- Unnecessary typing overhead: Developers now need to type 11 additional characters
- Workflow disruption: Established muscle memory no longer works
Technical Background
The issue appears to be caused by the new specific command cache:clean:payment_services_merchant_scopes
that was added to the cache:clean
namespace. This highly specific command will never be used by the vast majority of developers.
CLI output shows:
Available commands for the "cache:clean" namespace:
cache:clean:payment_services_merchant_scopes Clean Payment Services Merchant scopes cache
Examples
app@d254b067e603:~/html$ php bin/magento c:c
Magento CLI 2.4.8
Usage:
command [options] [arguments]
Options:
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Available commands for the "cache:clean" namespace:
cache:clean:payment_services_merchant_scopes Clean Payment Services Merchant scopes cache
Proposed solution
I kindly request that you restore the c:c
shortcut for cache:clean
. Possible approaches:
- Namespace reorganization: Move the Payment Services command to its own namespace
- Alias restoration: Define explicit aliases for frequently used commands
- Priority-based shortcuts: Give precedence to commonly used commands for shortcuts
Justification
- The
cache:clean
command is one of the most frequently used CLI commands in Magento development - Developer experience should not be impacted by very specific, rarely used commands
- Backward compatibility for established workflows is important for the developer community
I hope for your understanding of this issue and a timely solution in an upcoming update.
Release note
Additional Information:
- Magento CLI Version: 2.4.8
- Operating System: Ubuntu 24.04.2 LTS
- PHP Version: 8.3
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status