Sha256: b56b10c1948aece144ab047557be1639377f2d2cf77b0bfeb76b80a56cbcf6b0

Contents?: true

Size: 346 Bytes

Versions: 5

Compression:

Stored size: 346 Bytes

Contents

class Ppl::Command::Url < Ppl::Command::Attribute

  name        "url"
  description "List, show or change URLs"

  def initialize
    @attribute = :urls
  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

5 entries across 5 versions & 1 rubygems

Version Path
ppl-4.0.5 lib/ppl/command/url.rb
ppl-4.0.3 lib/ppl/command/url.rb
ppl-4.0.2 lib/ppl/command/url.rb
ppl-4.0.1 lib/ppl/command/url.rb
ppl-4.0.0 lib/ppl/command/url.rb