Class: Pod::Command::Flutter

Inherits:
Pod::Command show all
Defined in:
lib/cocoapods-flutter/command/flutter.rb,
lib/cocoapods-flutter/command/flutter/archive.rb

Direct Known Subclasses

Archive

Defined Under Namespace

Classes: Archive

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ Flutter

Returns a new instance of Flutter.



12
13
14
15
# File 'lib/cocoapods-flutter/command/flutter.rb', line 12

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

Instance Method Details

#validate!Object



17
18
19
20
# File 'lib/cocoapods-flutter/command/flutter.rb', line 17

def validate!
  super
  banner! if @help
end