Sha256: dafa56e0a3c8a45976577c5e1768fad880056f5fa64863a22befc0fdcb89e454
Contents?: true
Size: 466 Bytes
Versions: 10
Compression:
Stored size: 466 Bytes
Contents
command :login do |c| c.syntax = 'ios login' c.summary = 'Save account credentials' c.description = '' c.action do |args, options| say_warning "You are already authenticated" if Security::InternetPassword.find(:server => Cupertino::ProvisioningPortal::HOST) user = ask "Username:" pass = password "Password:" Security::InternetPassword.add(Cupertino::ProvisioningPortal::HOST, user, pass) say_ok "Account credentials saved" end end
Version data entries
10 entries across 10 versions & 1 rubygems