Sha256: d4c2d5dd48804886a988525e16ce1a9509f73221ba5f8dd192c8eb17def53d74

Contents?: true

Size: 468 Bytes

Versions: 19

Compression:

Stored size: 468 Bytes

Contents

class Ppl::Command::Nick < Ppl::Command::Attribute

  name        "nick"
  description "List, show or change nicknames"

  def initialize
    @attribute = :nicknames
  end

  def options(parser, options)
    parser.banner = "usage: ppl nick <contact> [<nickname>]"
    parser.on("-d", "--delete", "delete nickname") do
      options[:delete] = true
    end
    parser.on("--no-color", "turn off colored output") do
      options[:no_color] = true
    end
  end

end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
ppl-3.0.1 lib/ppl/command/nick.rb
ppl-3.0.0 lib/ppl/command/nick.rb
ppl-2.4.1 lib/ppl/command/nick.rb
ppl-2.4.0 lib/ppl/command/nick.rb
ppl-2.3.3 lib/ppl/command/nick.rb
ppl-2.3.2 lib/ppl/command/nick.rb
ppl-2.3.1 lib/ppl/command/nick.rb
ppl-2.3.0 lib/ppl/command/nick.rb
ppl-2.2.0 lib/ppl/command/nick.rb
ppl-2.1.0 lib/ppl/command/nick.rb
ppl-2.0.0 lib/ppl/command/nick.rb
ppl-1.25.0 lib/ppl/command/nick.rb
ppl-1.24.0 lib/ppl/command/nick.rb
ppl-1.23.0 lib/ppl/command/nick.rb
ppl-1.22.2 lib/ppl/command/nick.rb
ppl-1.22.1 lib/ppl/command/nick.rb
ppl-1.22.0 lib/ppl/command/nick.rb
ppl-1.21.0 lib/ppl/command/nick.rb
ppl-1.20.0 lib/ppl/command/nick.rb