lib/eco/scripting.rb in eco-helpers-0.7.1 vs lib/eco/scripting.rb in eco-helpers-0.7.2
- old
+ new
@@ -1,10 +1,12 @@
-require_relative './scripting/arguments'
+require_relative 'scripting/args_helpers'
+require_relative 'scripting/argument'
+require_relative 'scripting/arguments'
module Eco
#TODO integrate Thor to build the CLI from bottom to top on load
class Scripting
- include Scripting::Lib
+ include Scripting::ArgsHelpers
def args_contain?(*values)
match?(ARGV, patterns, [:any, :or, :insensitive, :pattern])
end