lib/softcover/cli.rb in softcover-0.7.11 vs lib/softcover/cli.rb in softcover-0.8.0

- old
+ new

@@ -131,9 +131,10 @@ force: false, desc: "Watch a directory to auto upload." # TODO: make screencasts dir .book configurable define_method "publish:screencasts" do |dir= Softcover::Book::DEFAULT_SCREENCASTS_DIR| + require 'softcover/commands/publisher' puts "Publishing screencasts in #{dir}" Softcover::Commands::Publisher. publish_screencasts! options.merge(dir: dir) end