Class: DeployiOS::Command

Inherits:
CLAide::Command
  • Object
show all
Defined in:
lib/deployios/command.rb,
lib/deployios/command/iap.rb,
lib/deployios/command/init.rb,
lib/deployios/command/build.rb,
lib/deployios/command/publish.rb

Direct Known Subclasses

Build, Iap, Init, Publish

Defined Under Namespace

Classes: Build, Iap, Init, Publish

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ Command

Returns a new instance of Command.



18
19
20
21
# File 'lib/deployios/command.rb', line 18

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

Class Method Details

.optionsObject



12
13
14
15
16
# File 'lib/deployios/command.rb', line 12

def self.options
  [
    ['--verbose', 'Show more debugging information']
  ].concat(super)
end

Instance Method Details

#runObject



23
24
25
26
# File 'lib/deployios/command.rb', line 23

def run
  log_info("DeployiOS v#{VERSION} - Automated iOS App Store deployment tool")
  log_info("Use 'deployios --help' to see available commands")
end