utils for jekyll: npm install -g jkl
Create a new post:
$ jkl new i-love-jkl
created : ./2014-02-09-i-love-jkl.md
If you're in a jekyll project, it'll default to the _posts folder:
$ jkl new i-love-jkl
created : ./_posts/2014-02-09-i-love-jkl.md
You can also specifiy a directory:
$ jkl new i-love-jkl _drafts
created : ./_drafts/2014-02-09-i-love-jkl.md
Delete a post.
$ jkl rm i-love-jkl
deleted : ./2014-02-09-i-love-jkl.md
This has the same behaviour as new, in that the default for a Jekyll project will be _posts. You can specify a directory.
Like new, but defaults to the _drafts folder.
MIT