Sha256: 5a1383005e04e64fbef3dd4fd2722e2ce893f8416a11abd6b7cd151f9b4cd9d4
Contents?: true
Size: 813 Bytes
Versions: 16
Compression:
Stored size: 813 Bytes
Contents
require 'keyring_liberator' module Pod class Command class Keys class Export < Keys self.summary = 'Exports commands to recreate the key setup.' self.description = <<-DESC Gives a list of all the pod keys commands necessary to recreate the key setup on another machine. DESC def run # List all settings for current app this_keyring = get_current_keyring raise 'Could not load keyring' unless this_keyring export_current_keyring this_keyring end def export_current_keyring(keyring) data = keyring.keychain_data data.each do |key, value| UI.puts "pod keys set #{key} \"#{value}\" #{keyring.name}" end UI.puts end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems