Module: Capistrano::CLI::Options::ClassMethods

Defined in:
lib/capistrano/cli/options.rb

Instance Method Summary collapse

Instance Method Details

#parse(args) ⇒ Object

Return a new CLI instance with the given arguments pre-parsed and ready for execution.


13
14
15
16
17
# File 'lib/capistrano/cli/options.rb', line 13

def parse(args)
  cli = new(args)
  cli.parse_options!
  cli
end