Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin management #174

Open
floriancargoet opened this issue Nov 29, 2013 · 11 comments
Open

Plugin management #174

floriancargoet opened this issue Nov 29, 2013 · 11 comments

Comments

@floriancargoet
Copy link

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?

@tommy351
Copy link
Member

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

@floriancargoet
Copy link
Author

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

@sergiolepore
Copy link

👍 cool!!!

@jaredly
Copy link

jaredly commented Jul 28, 2014

👍

1 similar comment
@wayou
Copy link

wayou commented Oct 13, 2014

+1

@wzpan
Copy link
Member

wzpan commented Oct 13, 2014

Golden idea!

@Xuanwo
Copy link
Contributor

Xuanwo commented Jun 11, 2015

Do you remember this issue?= =

@gleb-svechnikov
Copy link

+1

@Xuanwo
Copy link
Contributor

Xuanwo commented Dec 10, 2015

@tommy351 How about move this to hexo-cli ?

@curbengh
Copy link
Contributor

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

@stevenjoezhang stevenjoezhang transferred this issue from hexojs/hexo Mar 27, 2020
@SukkaW
Copy link
Member

SukkaW commented Jun 16, 2020

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants