Skip to content

Allow "git style" jekyll-commands. #1972

Closed
envygeeks opened this Issue Jan 20, 2014 · 9 comments

2 participants

@envygeeks
Jekyll member

I once heard about an idea to make Jekyll a bit better and one of the things I love about git is the git command style. If we throw a bin out there and it is "git-command" then "git command" will work. I think this would be an amazing extensibility option for Jekyll because now for example if we want to replace the Jekyll watch command then it will default to the built-in watch but if jekyll-watch exists then it will use our watch, and people can add any number of commands into Jekyll without having to use rake or without hacking Jekyll.

@parkr
Jekyll member
parkr commented Jan 22, 2014

I had a chat with @mojombo about this when we were first creating Jekyll's subcommands and we decided against it (it was my proposal initially to use git-style jekyll commands). Check out #726.

@envygeeks
Jekyll member

I assume it wouldn't be such a big deal if we could hook into the commands system via plugin easily.

@parkr
Jekyll member
parkr commented Jan 24, 2014

Nope! I was thinking we should create an API for that actually, that bin/jekyll uses. Interested in designing and implementing that API?

@envygeeks
Jekyll member

I would love to help with it, if it can wait until around Monday or Tuesday since I'm backlogged for the weekend.

@parkr
Jekyll member
parkr commented Jan 25, 2014

It can wait! No problem.

@parkr parkr self-assigned this Feb 4, 2014
@parkr
Jekyll member
parkr commented Mar 16, 2014

I think #2143 will allow for this. You might need a small wrapper around jekyll but it's a start.

@parkr
Jekyll member
parkr commented Jul 31, 2014

Your new work on Jekyll 3 allows for this, right?

@parkr parkr closed this Jul 31, 2014
@envygeeks
Jekyll member

It will once I finish the CLI system tomorrow. I'm still roadmapping it into the current design right now.

@parkr
Jekyll member
parkr commented Jul 31, 2014

:+1:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.