Add a rake task for listing all posts with an asterisk if it's published.

**Usage:** 'rake list_posts'
**Advanced usage:** 'rake list_posts[pub|unpub]'
[Why I commit this?](http://tonytonyjan.github.com/2012/05/02/list-all-posts-rake-task-for-octopress/)

## $ rake list_posts

![](http://i.imgur.com/8jE6H.png)

## $ rake list_posts[pub]

![](http://i.imgur.com/TEXn6.png)

## $ rake list_posts[unpub]

![](http://i.imgur.com/ecnmi.png)