plushu / plushu-plugins-plugin

Plugin that provides plugin management commands for Plushu
0 stars 0 forks source link

Multiple / default-all plugins in subcommands #6

Open stuartpb opened 10 years ago

stuartpb commented 10 years ago

plugins:install

Would need a separate plugin to take multiple, as currently plugins:install takes the plugin URL, followed by an optional name to use when installing.

Alternately, could be changed to a format that takes multiple plugins, and takes specified names with a --as flag (I think this might be how NPM does it). Still, plugins:install taking one plugin name isn't a major disaster, as it's easily put in a for loop, and it's the same signature as the Heroku toolbelt (and git clone).

(described in plushu/plushu#17)

plugins:uninstall

Could take multiple. If failure / --force get implemented, this should maybe be re-examined.

plugins:update

Could take multiple. Defaulting to all (a la the Heroku toolbelt) could be allowed, but I feel like that could be asking for trouble. (On the other hand, packer -Syu makes lots of changes in one sweep, and it gets by.)

Basically, before updating anything you should check the Google group to see what's incompatible with what, etc.

plugins:disable

Could take multiple.

stuartpb commented 10 years ago

This has been implemented for uninstall, reinstall, and update.

stuartpb commented 9 years ago

It should still really be implemented for install, with --as.

Indeed, just plugins:install should have its own discussion.