Sha256: 69135643e100f2dffa4593e57d511d13461b938cd10dadaa8e18fd5b6a499da4
Contents?: true
Size: 1.16 KB
Versions: 10
Compression:
Stored size: 1.16 KB
Contents
require 'commander' require 'fastlane/version' 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, 'GitHub', 'https://github.com/fastlane/PEM' program :help_formatter, :compact global_option('--verbose') { $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' 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
10 entries across 10 versions & 1 rubygems