sigh/lib/sigh/commands_generator.rb in fastlane-2.6.0 vs sigh/lib/sigh/commands_generator.rb in fastlane-2.7.0
- old
+ new
@@ -23,11 +23,11 @@
global_option('--verbose') { $verbose = true }
FastlaneCore::CommanderGenerator.new.generate(Sigh::Options.available_options)
command :renew do |c|
- c.syntax = 'sigh renew'
+ c.syntax = 'fastlane sigh renew'
c.description = 'Renews the certificate (in case it expired) and outputs the path to the generated file'
c.action do |args, options|
user_input = options.__hash__
@@ -55,32 +55,32 @@
Sigh::Manager.start
end
end
command :download_all do |c|
- c.syntax = 'sigh download_all'
+ c.syntax = 'fastlane sigh download_all'
c.description = 'Downloads all valid provisioning profiles'
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 = 'sigh repair'
+ c.syntax = 'fastlane sigh repair'
c.description = 'Repairs all expired or invalid provisioning profiles'
c.action do |args, options|
Sigh.config = FastlaneCore::Configuration.create(Sigh::Options.available_options, options.__hash__)
require 'sigh/repair'
Sigh::Repair.new.repair_all
end
end
command :resign do |c|
- c.syntax = 'sigh resign'
+ c.syntax = 'fastlane sigh resign'
c.description = 'Resigns an existing ipa file with the given provisioning profile'
c.option '-i', '--signing_identity STRING', String, 'The signing identity to use. Must match the one defined in the provisioning profile.'
c.option '-x', '--version_number STRING', String, 'Version number to force binary and all nested binaries to use. Changes both CFBundleShortVersionString and CFBundleIdentifier.'
c.option '-p', '--provisioning_profile PATH', String, '(or BUNDLE_ID=PATH) The path to the provisioning profile which should be used. '\
'Can be provided multiple times if the application contains nested applications and app extensions, which need their own provisioning profile. '\
@@ -98,10 +98,10 @@
Sigh::Resign.new.run(options, args)
end
end
command :manage do |c|
- c.syntax = 'sigh manage'
+ c.syntax = 'fastlane sigh manage'
c.description = 'Manage installed provisioning profiles on your system.'
c.option '-f', '--force', 'Force remove all expired provisioning profiles. Required on CI.'
c.option '-e', '--clean_expired', 'Remove all expired provisioning profiles.'