-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[5.3] [CLI] enable or disable extension command #43977
base: 5.3-dev
Are you sure you want to change the base?
Conversation
This pull request has been automatically rebased to 5.3-dev. |
I think it would be better to have two separate commands for enabling and disabling 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 |
2 separate command now |
Shouldnt all usage of publish/unpublish (including the file names) be changed to enable/disable? |
Co-authored-by: Brian Teeman <brian@teeman.net>
Co-authored-by: Brian Teeman <brian@teeman.net>
I think we should use $table->enabled = 1; |
Co-authored-by: Quy <quy@nomonkeybiz.com>
Co-authored-by: Quy <quy@nomonkeybiz.com>
Co-authored-by: Quy <quy@nomonkeybiz.com>
I have tested this item ✅ successfully on 43ef558 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43977. |
Pull Request for Issue #43949 .
Summary of Changes
new command to enable or disable an extension
Testing Instructions
run
php cli\joomla.php extension:enable 226
run
php cli\joomla.php extension:disable 226
to disableActual result BEFORE applying this Pull Request
N/A
Expected result AFTER applying this Pull Request
enable or disable an extension from cli
Link to documentations
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