sigh/lib/sigh/commands_generator.rb in fastlane-2.16.0.beta.20170214010051 vs sigh/lib/sigh/commands_generator.rb in fastlane-2.16.0
- old
+ new
@@ -58,18 +58,22 @@
command :download_all do |c|
c.syntax = 'fastlane sigh download_all'
c.description = 'Downloads all valid provisioning profiles'
+ FastlaneCore::CommanderGenerator.new.generate(Sigh::Options.available_options, command: c)
+
c.action do |args, options|
Sigh.config = FastlaneCore::Configuration.create(Sigh::Options.available_options, options.__hash__)
Sigh::Manager.download_all
end
end
command :repair do |c|
c.syntax = 'fastlane sigh repair'
c.description = 'Repairs all expired or invalid provisioning profiles'
+
+ FastlaneCore::CommanderGenerator.new.generate(Sigh::Options.available_options, command: c)
c.action do |args, options|
Sigh.config = FastlaneCore::Configuration.create(Sigh::Options.available_options, options.__hash__)
require 'sigh/repair'
Sigh::Repair.new.repair_all