lib/zine/cli.rb in zine-0.15.0 vs lib/zine/cli.rb in zine-0.16.0

- old
+ new

@@ -13,14 +13,25 @@ class CLI < Thor include Thor::Actions attr_accessor :the_site # only used in testing no_commands do + def self.exit_on_failure? + true + end + def init_site @the_site ||= Zine::Site.new end def options + init_site + + # for v0.16.0 only + unless @the_site.options['templates']['atom'] + puts "v0.16.0 changes how rss & atom works, see CHANGELOG.md if you haven't already\n\n" + end + @the_site.options end end desc 'build', 'Build the site'