Plugin management
Feature idea: command-line plugin management
-
hexo plugin enable (hexo-)generator-feed=> add entry in plugins in_config.yml+ add default/example plugin config (extracted from package.json for instance) -
hexo plugin disable (hexo-)generator-feed=> remove entry in plugins -
hexo plugin search=> npm search hexo- -
hexo plugin install (hexo-)generator-feed=> npm install hexo-generator-feed && hexo plugin enable hexo-generator-feed -
hexo plugin remove (hexo-)generator-feed=> hexo plugin disable hexo-generator-feed && npm remove hexo-generator-feed -
hexo plugin list/list-installed=> list installed plugins
What do you think?
It's great! Maybe will be implemented in v2.4 or v2.5.
If I find some spare time, I'll try to implement it and send a pull request.
:+1: cool!!!
:+1:
+1
Golden idea!
Do you remember this issue?= =
+1
@tommy351 How about move this to hexo-cli ?
https://github.com/adamsiwiec/hexagon has implemented this idea, perhaps we can port it to hexo-cli.
We could do something like this:
hexo plugin search # Search plugin through https://hexo.io/ 's plugin list
hexo plugin add [name]
hexo plugin remove [name]