lib/brief/cli/commands/write.rb in brief-0.0.3 vs lib/brief/cli/commands/write.rb in brief-0.0.4

- old
+ new

@@ -16,11 +16,12 @@ content = ask_editor(publisher.sample) if content == publisher.sample say "Ignoring editor input, same as sample" + else + document = Brief::Document.new(content) + document.publish(publisher) end - - binding.pry end end