Sha256: a06341540fc9156917c865bd1da38c0af3e11d1fffc7d18105c86a2694143621
Contents?: true
Size: 453 Bytes
Versions: 6
Compression:
Stored size: 453 Bytes
Contents
class Ppl::Command::Url < Ppl::Command::Attribute name "url" description "List, show or change URLs" def initialize @attribute = :urls @show_format = Ppl::Format::Contact::Urls.new @list_format = Ppl::Format::AddressBook::Urls.new end def options(parser, options) parser.banner = "usage: ppl url <contact> [<url>]" parser.on("-d", "--delete", "delete url") do options[:delete] = true end end end
Version data entries
6 entries across 6 versions & 1 rubygems