Class: Pod::Command::MPAAS

Inherits:
Pod::Command show all
Defined in:
lib/cocoapods-mPaaS/command/mPaaS.rb,
lib/cocoapods-mPaaS/command/mpaas/dev.rb,
lib/cocoapods-mPaaS/command/mpaas/info.rb,
lib/cocoapods-mPaaS/command/mpaas/init.rb,
lib/cocoapods-mPaaS/command/mpaas/open.rb,
lib/cocoapods-mPaaS/command/mpaas/update.rb,
lib/cocoapods-mPaaS/command/mpaas/version.rb,
lib/cocoapods-mPaaS/command/mpaas/local_command.rb

Overview

MPAAS 主命令

Direct Known Subclasses

Dev, Info, Init, Open, SetLang, Update, Version

Defined Under Namespace

Classes: Dev, Info, Init, Open, SetLang, Update, Version

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ MPAAS

Returns a new instance of MPAAS.



13
14
15
16
# File 'lib/cocoapods-mPaaS/command/mpaas/local_command.rb', line 13

def initialize(argv)
  super
  Pod::MPAAS::Localization.set_language(Pod::MPAAS::Localization.current_language)
end

Instance Method Details

#runObject

def validate!

super
help! 'A Pod name is required.' unless @name

end



39
40
41
# File 'lib/cocoapods-mPaaS/command/mPaaS.rb', line 39

def run
  # UI.puts "Add your implementation for the cocoapods-mPaaS plugin in #{__FILE__}"
end