lib/jive/cli.rb in jive-0.3.3 vs lib/jive/cli.rb in jive-0.4.0
- old
+ new
@@ -72,9 +72,15 @@
Project
.new(Pathname.pwd)
.bootstrap(Jive.shell)
end
+ desc "pr URL", "pull request"
+ def pr(url)
+ pr = PullRequest.new(url)
+ pr.edit(ENV["EDITOR"])
+ end
+
desc "setup", "provide instructions to integrate into shell"
def setup
print "source #{::Jive.root.join("jive.sh")}"
end
end