class AppleCert::Command::Init

Public Instance Methods

prov() click to toggle source
# File lib/AppleCert/Command/init.rb, line 11
def prov()
  man = AppleCert::Provisioning.new()
  if !options[:f].nil?
    man.showInfo(options[:f])
  elsif !options[:d].nil?
    man.removefile(options[:d])
  elsif !options[:de].nil?
    man.removeExpired
  else
    man.list
  end
end