Sha256: aff952904a058838684b1b7524195232750212af962aec8e7b35b6a05b100fd7
Contents?: true
Size: 525 Bytes
Versions: 6
Compression:
Stored size: 525 Bytes
Contents
class Ppl::Command::Email < Ppl::Command::Attribute name "email" description "Show or change a contact's email address" def initialize @attribute = :email_addresses @show_format = Ppl::Format::Contact::EmailAddresses.new @list_format = Ppl::Format::AddressBook::EmailAddresses.new end def options(parser, options) parser.banner = "usage: ppl email <contact> [<email-address>]" parser.on("-d", "--delete", "delete email address") do options[:delete] = true end end end
Version data entries
6 entries across 6 versions & 1 rubygems