Commit 8f74d0e4 authored by Fabio Pelosin's avatar Fabio Pelosin

[Command::Push] Add temporary foward command

parent c5c0606d
...@@ -20,6 +20,9 @@ module Pod ...@@ -20,6 +20,9 @@ module Pod
require 'cocoapods/command/spec' require 'cocoapods/command/spec'
require 'cocoapods/command/init' require 'cocoapods/command/init'
# TODO: remove
require 'cocoapods/command/push'
self.abstract_command = true self.abstract_command = true
self.command = 'pod' self.command = 'pod'
self.version = VERSION self.version = VERSION
......
module Pod
class Command
class Push < Command
self.summary = 'Temporary placeholder for the `pod repo push` command'
def initialize(argv)
@push_command = Repo::Push.new(argv)
super
end
def validate!
UI.puts '[!] The `pod push` command has been moved to `pod repo push`.'.ansi.yellow
@push_command.validate!
end
def run
@push_command.run
end
end
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment