./lib/cupertino/provisioning_portal/commands.rb in cupertino-0.9.0 vs ./lib/cupertino/provisioning_portal/commands.rb in cupertino-0.9.1
- old
+ new
@@ -1,10 +1,12 @@
include Cupertino::ProvisioningPortal
include Cupertino::ProvisioningPortal::Helpers
global_option('-u', '--username USER', 'Username') { |arg| agent.username = arg unless arg.nil? }
global_option('-p', '--password PASSWORD', 'Password') { |arg| agent.password = arg unless arg.nil? }
-global_option('-tm', '--team TEAM', 'Team') { |arg| agent.team = arg unless arg.nil? }
+global_option('--team TEAM', 'Team') { |arg| agent.team = arg unless arg.nil? }
+global_option('--info', 'Set log level to INFO') { agent.log.level = Logger::INFO }
+global_option('--debug', 'Set log level to DEBUG') { agent.log.level = Logger::DEBUG }
require 'cupertino/provisioning_portal/commands/certificates'
require 'cupertino/provisioning_portal/commands/devices'
require 'cupertino/provisioning_portal/commands/profiles'
require 'cupertino/provisioning_portal/commands/app_ids'