Module: Mkmatter::App::Descriptions::New

Defined in:
lib/mkmatter/cli/descriptions.rb

Constant Summary collapse

PAGE =
ERB.new(<<-PAGE
--`mkmatter new page` will run you through making a jekyll page.
--Given the above options/flags you can modify how the script
--outputs your front matter, or whether to mark it as published.
--<%= Paint['OPTIONS', 'green', :bold] %>:

PAGE
).result
POST =
ERB.new(<<-POSTDOC
--`mkmatter new post` will run you through making a jekyll post.
--Given the above options/flags you can modify how the script
--outputs your front matter, and whether to mark it as published,
--or as a draft and move it into `_drafts`.
--<%= Paint['NOTES', 'green', :bold] %>:
----By default Jekyll will publish a post if `published` is omitted in
----the front matter. So if you omit `--publish` you will publish,
----so you have to explicitly use --no-publish to set 
----`<%= HighLine.color('published', :yellow) %>: <%= HighLine.color('false', :yellow, :bold) %>`

POSTDOC
).result