lib/jekyll_push.rb in jekyll_push-0.1.1 vs lib/jekyll_push.rb in jekyll_push-0.1.2
- old
+ new
@@ -16,12 +16,12 @@
#
#
module JekyllPush
#
# @return [Nil]
- def self.run_command(arg)
+ def self.run_command(arg, opts)
site = JekyllPush::Site.new
- branch = JekyllPush::Branch.new arg
+ branch = JekyllPush::Branch.new arg, opts
site.rebuild branch.target
branch.push site.dir
puts Rainbow("\nDone ✓").green