Sha256: 7df4e18281f058da65f98f12864f950e6c7440c9f1660e344a01d8dc88856023
Contents?: true
Size: 390 Bytes
Versions: 6
Compression:
Stored size: 390 Bytes
Contents
command :logout do |c| c.syntax = 'ios logout' c.summary = 'Remove account credentials' c.description = '' c.action do |args, options| say_error "You are not authenticated" and abort unless Security::InternetPassword.find(:server => Cupertino::HOSTNAME) Security::InternetPassword.delete(:server => Cupertino::HOSTNAME) say_ok "Account credentials removed" end end
Version data entries
6 entries across 6 versions & 1 rubygems