Sha256: 94aa9c3d13a84cd25d2e841e99404eb1e73b5511b49143ebe55246ed979833ea
Contents?: true
Size: 506 Bytes
Versions: 6
Compression:
Stored size: 506 Bytes
Contents
class Ppl::Command::Org < Ppl::Command::Attribute name "org" description "List, show or change organizations" def initialize @attribute = :organizations @show_format = Ppl::Format::Contact::Organization.new @list_format = Ppl::Format::AddressBook::Organizations.new end def options(parser, options) parser.banner = "usage: ppl org <contact> [<organization>]" parser.on("-d", "--delete", "delete organization") do options[:delete] = true end end end
Version data entries
6 entries across 6 versions & 1 rubygems