Class: Pod::Command::Kz

Inherits:
Pod::Command show all
Defined in:
lib/cocoapods-kz/command/kz.rb,
lib/cocoapods-kz/command/info.rb,
lib/cocoapods-kz/command/clean.rb,
lib/cocoapods-kz/command/repair.rb,
lib/cocoapods-kz/command/update.rb,
lib/cocoapods-kz/command/install.rb

Direct Known Subclasses

Clean, Info, Install, Repair, Update

Defined Under Namespace

Classes: Clean, Info, Install, Repair, Update

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ Kz

Returns a new instance of Kz.



16
17
18
19
# File 'lib/cocoapods-kz/command/kz.rb', line 16

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

Instance Method Details

#validate!Object



21
22
23
24
# File 'lib/cocoapods-kz/command/kz.rb', line 21

def validate!
  super
  banner! if @help
end