retrieve_command_name(args)
Retrieve the command name from given args.
# File lib/bundler/vendor/thor/lib/thor.rb, line 435 def retrieve_command_name(args) #:nodoc: meth = args.first.to_s unless args.empty? args.shift if meth && (map[meth] || meth !~ /^\-/) end