Class: DeployiOS::Command
- Inherits:
-
CLAide::Command
- Object
- CLAide::Command
- DeployiOS::Command
- 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
Defined Under Namespace
Classes: Build, Iap, Init, Publish
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(argv) ⇒ Command
constructor
A new instance of Command.
- #run ⇒ Object
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
.options ⇒ Object
12 13 14 15 16 |
# File 'lib/deployios/command.rb', line 12 def self. [ ['--verbose', 'Show more debugging information'] ].concat(super) end |
Instance Method Details
#run ⇒ Object
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 |