You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd expect that to just work. It should fetch the ZIP for the Gist, determine the slug of the plugin from the name of the plugin file, and then create a directory for that plugin using the slug. The content of the Gist can then go in there. This is important because Gists are not limited to single files. For example: https://gist.github.com/westonruter/26667d26ea34ef8e9f5e1053a747c73f
When using
wp plugin install <URL>
, WP-CLI currently assumes that the URL is pointing to a ZIP file of a plugin.This command should also work with a URL to a single PHP plugin file, so that it can for example directly install plugins from GitHub Gists:
Example of such a command that should just work:
/cc @westonruter (whose numerous Gist plugins make me want to implement the above)
The text was updated successfully, but these errors were encountered: