Skip to content

Jekyll command to publish a draft #1469

@zsiegel

Description

@zsiegel

It would be great to have a command to publish a draft.

For example if you did jekyll publish _draft/path-to-draft.md it would move the file into your _posts folder and date it with the current date.

I would love to help implement the feature but I cannot seem to get jekyll to build on my machine.

When trying to build I get the following error. I might be totally missing something but any nudge in the right direction or quick steps to building and iterating would be great.

(master)$ jekyll build --trace /Users/zsiegel/.rvm/gems/ruby-1.9.3-p194/gems/commander-4.1.5/lib/commander/runner.rb:365:in block in require_program': program version required (Commander::Runner::CommandError)`

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions