-
-
Notifications
You must be signed in to change notification settings - Fork 827
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CRM-16243 - Extension API - Manage extensions by path
This allows one to enable or disable a series of extensions by path. This should be useful, for example, when integrating with `composer` or `drush make`. Without any knowledge of the specific extensions involved, one might: * If you download a bunch of extensions to a common dir (e.g. composer's `vendor/`) and need to enable them all, then run `cv api extension.install path=$PWD/vendor/*` (circa `post-install-cmd`) * If you're deleting a specific directory (e.g. via composer's `uninstall`), then remove it gracefully from the DB by running `cv api extension.disable path=$PKGDIR` (circa `pre-package-uninstall`)
- Loading branch information
Showing
3 changed files
with
88 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters