hexo-cli icon indicating copy to clipboard operation
hexo-cli copied to clipboard

Plugin management

Open floriancargoet opened this issue 10 years ago • 11 comments

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?

floriancargoet avatar Nov 29 '13 13:11 floriancargoet

It's great! Maybe will be implemented in v2.4 or v2.5.

tommy351 avatar Nov 29 '13 15:11 tommy351

If I find some spare time, I'll try to implement it and send a pull request.

floriancargoet avatar Nov 29 '13 15:11 floriancargoet

:+1: cool!!!

sergiolepore avatar Nov 29 '13 20:11 sergiolepore

:+1:

jaredly avatar Jul 28 '14 06:07 jaredly

+1

wayou avatar Oct 13 '14 09:10 wayou

Golden idea!

wzpan avatar Oct 13 '14 12:10 wzpan

Do you remember this issue?= =

Xuanwo avatar Jun 11 '15 18:06 Xuanwo

+1

gleb-svechnikov avatar Oct 19 '15 20:10 gleb-svechnikov

@tommy351 How about move this to hexo-cli ?

Xuanwo avatar Dec 10 '15 01:12 Xuanwo

https://github.com/adamsiwiec/hexagon has implemented this idea, perhaps we can port it to hexo-cli.

curbengh avatar Sep 28 '19 07:09 curbengh

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]

SukkaW avatar Jun 16 '20 03:06 SukkaW