Sha256: 9ec7f86608f3ee515f0dd75f526b7eedc337a868a84835cca3d905fa8085b960
Contents?: true
Size: 1.32 KB
Versions: 526
Compression:
Stored size: 1.32 KB
Contents
require 'commander' require 'fastlane/version' require 'fastlane_core/configuration/configuration' require_relative 'options' require_relative 'manager' HighLine.track_eof = false module PEM class CommandsGenerator include Commander::Methods def self.start self.new.run end def run program :name, 'pem' program :version, Fastlane::VERSION program :description, 'CLI for \'PEM\' - Automatically generate and renew your push notification profiles' program :help, 'Author', 'Felix Krause <pem@krausefx.com>' program :help, 'Website', 'https://fastlane.tools' program :help, 'Documentation', 'https://docs.fastlane.tools/actions/pem/' program :help_formatter, :compact global_option('--verbose') { FastlaneCore::Globals.verbose = true } 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 end default_command(:renew) run! end end end
Version data entries
526 entries across 526 versions & 2 rubygems