User tests: Successful: Unsuccessful:
Pull Request for Issue #43949 .
new command to enable or disable an extension
run php cli\joomla.php extension:enable 226
run php cli\joomla.php extension:disable 226
to disable
N/A
enable or disable an extension from cli
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Labels |
Added:
PR-5.2-dev
|
Title |
|
I think it would be better to have two separate commands for enabling and disabling extensions: extension:enable
and extension:disable
. In my opinion, it is a bit confusing that the command "publish" also disables extensions.
Joomla has separate commands for installing and uninstalling extensions, as well as for getting and setting configuration values an so on. There is no commands such:
php cli/joomla extension:install --uninstall 123
php cli/joomla user:add --delete bob
php cli/joomla site:up --down
php cli/joomla database:export --import
Labels |
Added:
Feature
PR-5.3-dev
Removed: PR-5.2-dev |
2 separate command now
Shouldnt all usage of publish/unpublish (including the file names) be changed to enable/disable?
I think we should use enable/disable
instead of publish/unpublish
. Even a field in database has name enabled
:
$table->enabled = 1;
I have tested this item ✅ successfully on 43ef558
This pull request has been automatically rebased to 5.3-dev.