gli 2.0.0.rc7 → 2.0.0.rc8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gli.rb +6 -0
- data/lib/gli/version.rb +1 -1
- metadata +1 -1
data/lib/gli.rb
CHANGED
@@ -24,4 +24,10 @@ module GLI
|
|
24
24
|
def self.included(klass)
|
25
25
|
warn "You should include GLI::App instead"
|
26
26
|
end
|
27
|
+
|
28
|
+
def self.run(*args)
|
29
|
+
warn "GLI.run no longer works for GLI-2, you must just call `run(ARGV)' instead"
|
30
|
+
warn "either fix your app, or use the latest GLI in the 1.x family"
|
31
|
+
1
|
32
|
+
end
|
27
33
|
end
|
data/lib/gli/version.rb
CHANGED