lib/motion/project/command.rb
def new(argv)
        instance = super(argv)
        wrapper = lambda { instance.run(argv.remainder) }
        def wrapper.run; call; end # Call lambda which forwards to #run(argv)
        def wrapper.validate!; end # Old command has no notion of validation.
        wrapper
      end
# Override initializer to return a proxy that calls the instance with
# the expected arguments when needed.
#
# Normal CLAide command classes are called with `Command#run`, whereas
# these deprecated classes need to be called with `Command#run(argv)`.
Override initializer to return a proxy that calls the instance with
the expected arguments when needed.

Normal CLAide command classes are called with `Command#run`, whereas
these deprecated classes need to be called with `Command#run(argv)`.
Override initializer to return a proxy that calls the instance with the expected arguments when needed . Normal CLAide command classes are called with ` Command#run ` whereas these deprecated classes need to be called with ` Command#run ( argv ) ` .
def new(argv)
        instance = super(argv)
        wrapper = lambda { instance.run(argv.remainder) }
        def wrapper.run; call; end 
        def wrapper.validate!; end 
        wrapper
      end
def new ( argv ) instance = super ( argv ) wrapper = lambda { instance . run ( argv . remainder ) } def wrapper . run ; call ; end def wrapper . validate! ; end wrapper end
Override initializer to return a proxy that calls the instance with
the expected arguments when needed.
Override initializer to return a proxy that calls the instance with the expected arguments when needed .
# Call lambda which forwards to #run(argv) # Old command has no notion of validation.
argv