method
parse!

parse!(args=ARGV)
public
Hide source
# File railties/lib/commands/plugin.rb, line 405 def parse!(args=ARGV) general, sub = split_args(args) options.parse!(general) command = general.shift if command =~ /^(list|discover|install|source|unsource|sources|remove|update)$/ command = Commands.const_get(command.capitalize).new(self) command.parse!(sub) else puts "Unknown command: #{command}" puts "Try: #{$0} --help" exit 1 end end