Class: Pod::Command::Vemars
- Inherits:
-
Pod::Command
- Object
- Pod::Command
- Pod::Command::Vemars
- Defined in:
- lib/cocoapods-vemars/command/vemars.rb,
lib/cocoapods-vemars/command/vemars/patch.rb,
lib/cocoapods-vemars/command/vemars/create.rb,
lib/cocoapods-vemars/command/vemars/prompt.rb,
lib/cocoapods-vemars/command/vemars/baselines.rb,
lib/cocoapods-vemars/command/vemars/components.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Baselines, Components, Create, Patch, Prompt
Class Method Summary collapse
-
.parse(argv) ⇒ Object
解析命令别名.
Class Method Details
.parse(argv) ⇒ Object
解析命令别名
20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/cocoapods-vemars/command/vemars.rb', line 20 def self.parse(argv) = argv.option('expanded-alias') cmd = super(argv) if cmd.class == Pod::Command::Vemars if !.blank? && (arg = argv.shift_argument) require 'shellwords' new_argv = .shellsplit + argv.remainder cmd = super(CLAide::ARGV.coerce(new_argv)) end end cmd end |