bin/orly in orly-0.0.6 vs bin/orly in orly-0.0.7
- old
+ new
@@ -9,11 +9,11 @@
include Orly
Choice.options do
- header "Orly notifies you whenever you pull an update that requires 'bundle install' or 'rake db:migrate'"
+ header "Orly notifies you whenever you pull an update that requires 'bundle install', 'rake db:migrate' or 'pod install'"
option :install do
short '-i'
long "--install"
desc "install orly for this git repo"
@@ -39,9 +39,18 @@
long "--speak"
desc "makes the O RLY owl talk"
action do |value|
value = "YA RLY" if value == true
Orly::OwlPrinter.print(value.split("\n"))
+ end
+ end
+
+ option :version do
+ short '-v'
+ long "--version"
+ desc "check orly's version"
+ action do
+ Orly::OwlPrinter.print(["Version: #{Orly::VERSION.to_s.green}"])
end
end
end
\ No newline at end of file