Sha256: 018fd3850db7a3bf84eec461c3c0549f52f45cb052bd083675e8615173c256f2
Contents?: true
Size: 504 Bytes
Versions: 6
Compression:
Stored size: 504 Bytes
Contents
class Ppl::Command::Phone < Ppl::Command::Attribute name "phone" description "List, show or change phone numbers" def initialize @attribute = :phone_numbers @show_format = Ppl::Format::Contact::PhoneNumber.new @list_format = Ppl::Format::AddressBook::PhoneNumbers.new end def options(parser, options) parser.banner = "usage: ppl phone <contact> [<number>]" parser.on("-d", "--delete", "delete phone number") do options[:delete] = true end end end
Version data entries
6 entries across 6 versions & 1 rubygems