Skip to content

Conversation

@blackjid
Copy link
Contributor

This change a little bit the publish command.

I think it make sense for the post and draft command to receive the name (title) of the post.. that way you can create the file in the corresponding folder.

But for publish it makes more sense to pass the entire path of the draft you want to publish. This is because this way you can use the autocomplete jekyll publish _drafts/my-draft-post.md. I think is easier.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you validate that this exists?

@parkr
Copy link
Member

parkr commented Dec 30, 2014

👍 in general

@blackjid
Copy link
Contributor Author

Hey @parkr I have added a validation.
I can squash all the commits before you accept the PR... let me know

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you print the path here? Something like There was no draft found at '#{draft_path}'. Just to be super explicit :D

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@blackjid
Copy link
Contributor Author

I squashed all the commit for a beautiful merge.. :)

parkr added a commit that referenced this pull request Dec 30, 2014
@parkr parkr merged commit 8eeab9d into jekyll:master Dec 30, 2014
parkr added a commit that referenced this pull request Dec 30, 2014
@blackjid
Copy link
Contributor Author

blackjid commented Jan 2, 2015

hey @parkr thanks!, can you release this please???

@mattr-
Copy link
Member

mattr- commented Jan 2, 2015

@blackjid we'll release it as soon as we can. I can't offer anymore info than that. 😃

@blackjid
Copy link
Contributor Author

blackjid commented Jan 2, 2015

ok, thanks! I can wait :)

@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants