pem/lib/pem/commands_generator.rb in fastlane-2.18.0.beta.20170216184940 vs pem/lib/pem/commands_generator.rb in fastlane-2.18.0.beta.20170217010035
- old
+ new
@@ -20,14 +20,14 @@
program :help, 'GitHub', 'https://github.com/fastlane/PEM'
program :help_formatter, :compact
global_option('--verbose') { FastlaneCore::Globals.verbose = true }
- FastlaneCore::CommanderGenerator.new.generate(PEM::Options.available_options)
-
command :renew do |c|
c.syntax = 'fastlane pem renew'
c.description = 'Renews the certificate (in case it expired) and shows the path to the generated pem file'
+
+ FastlaneCore::CommanderGenerator.new.generate(PEM::Options.available_options, command: c)
c.action do |args, options|
PEM.config = FastlaneCore::Configuration.create(PEM::Options.available_options, options.__hash__)
PEM::Manager.start
end