Sha256: 99e45207576b3d5f14bdfe435be47dde2f607354099dc9eba8557c1cae2ef40e
Contents?: true
Size: 1.61 KB
Versions: 150
Compression:
Stored size: 1.61 KB
Contents
require 'commander' require 'fastlane/version' HighLine.track_eof = false module Cert class CommandsGenerator include Commander::Methods def self.start self.new.run end def run program :name, 'cert' program :version, Fastlane::VERSION program :description, 'CLI for \'cert\' - Create new iOS code signing certificates' program :help, 'Author', 'Felix Krause <cert@krausefx.com>' program :help, 'Website', 'https://fastlane.tools' program :help, 'GitHub', 'https://github.com/fastlane/cert' program :help_formatter, :compact global_option('--verbose') { FastlaneCore::Globals.verbose = true } command :create do |c| c.syntax = 'fastlane cert create' c.description = 'Create new iOS code signing certificates' FastlaneCore::CommanderGenerator.new.generate(Cert::Options.available_options, command: c) c.action do |args, options| Cert.config = FastlaneCore::Configuration.create(Cert::Options.available_options, options.__hash__) Cert::Runner.new.launch end end command :revoke_expired do |c| c.syntax = 'fastlane cert revoke_expired' c.description = 'Revoke expired iOS code signing certificates' FastlaneCore::CommanderGenerator.new.generate(Cert::Options.available_options, command: c) c.action do |args, options| Cert.config = FastlaneCore::Configuration.create(Cert::Options.available_options, options.__hash__) Cert::Runner.new.revoke_expired_certs! end end default_command :create run! end end end
Version data entries
150 entries across 150 versions & 1 rubygems