Class: CocoapodsTools::GT

Inherits:
Command
  • Object
show all
Defined in:
lib/cocoapods-tools/command/git/gt.rb

Overview

This command uses an argument for the extra parameter, instead of subcommands for each of the flavor.

Direct Known Subclasses

Merge

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Command

#run, #validate!

Constructor Details

#initialize(argv) ⇒ GT

Returns a new instance of GT.



22
23
24
25
# File 'lib/cocoapods-tools/command/git/gt.rb', line 22

def initialize(argv)
  @tag = argv.flag?('merge')
  super
end

Class Method Details

.optionsObject



18
19
20
# File 'lib/cocoapods-tools/command/git/gt.rb', line 18

def self.options
  [%w[merge 自动打合并组件]].concat(super)
end