class Pod::Command::Vemars
Public Class Methods
parse(argv)
click to toggle source
解析命令别名
Calls superclass method
# File lib/cocoapods-vemars/command/vemars.rb, line 19 def self.parse(argv) expanded_alias = argv.option('expanded-alias') cmd = super(argv) if cmd.class == Pod::Command::Vemars if !expanded_alias.blank? && (arg = argv.shift_argument) require 'shellwords' new_argv = expanded_alias.shellsplit + argv.remainder cmd = super(CLAide::ARGV.coerce(new_argv)) end end cmd end