bin/bookingit in bookingit-0.1.0 vs bin/bookingit in bookingit-0.2.0

- old
+ new

@@ -36,17 +36,18 @@ end end end desc 'build your book from markdown files' +arg_name '[output_dir]' command :build do |c| c.desc "Use cache for code samples and console sessions" c.default_value true c.switch :cache c.action do |global_options,options,args| config = Bookingit::Config.new(File.read('config.json'),File.expand_path('.')) config.cache = options[:cache] - book = Bookingit::Book.new(config) + book = Bookingit::Book.new(config,args.shift) book.render_html! end end pre do |global,command,options,args|