Custom layout functionality in command class.
Adding --layout option for posts/drafts.