Class: Pod::Command::Push

Inherits:
Pod::Command show all
Defined in:
lib/cocoapods/command/push.rb

Instance Method Summary collapse

Methods inherited from Pod::Command

options, parse, report_error, run, verify_git_version!

Methods included from Pod::Config::Mixin

#config

Constructor Details

#initialize(argv) ⇒ Push

Returns a new instance of Push.



6
7
8
9
# File 'lib/cocoapods/command/push.rb', line 6

def initialize(argv)
  @push_command = Repo::Push.new(argv)
  super
end

Instance Method Details

#runObject



16
17
18
# File 'lib/cocoapods/command/push.rb', line 16

def run
  @push_command.run
end

#validate!Object



11
12
13
14
# File 'lib/cocoapods/command/push.rb', line 11

def validate!
  UI.puts '[!] The `pod push` command has been moved to `pod repo push`.'.ansi.yellow
  @push_command.validate!
end