Sha256: 4940b7269868accb551698a6bef288423f3d9a8150e2b554b845aa81de880184

Contents?: true

Size: 399 Bytes

Versions: 14

Compression:

Stored size: 399 Bytes

Contents

class Ppl::Command::Email < Ppl::Command::Attribute

  name        "email"
  description "Show or change a contact's email address"

  def initialize
    @attribute = :email_addresses
  end

  def options(parser, options)
    parser.banner = "usage: ppl email <contact> [<email-address>]"
    parser.on("-d", "--delete", "delete email address") do
      options[:delete] = true
    end
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ppl-1.23.0 lib/ppl/command/email.rb
ppl-1.22.2 lib/ppl/command/email.rb
ppl-1.22.1 lib/ppl/command/email.rb
ppl-1.22.0 lib/ppl/command/email.rb
ppl-1.21.0 lib/ppl/command/email.rb
ppl-1.20.0 lib/ppl/command/email.rb
ppl-1.19.0 lib/ppl/command/email.rb
ppl-1.18.0 lib/ppl/command/email.rb
ppl-1.17.2 lib/ppl/command/email.rb
ppl-1.17.1 lib/ppl/command/email.rb
ppl-1.17.0 lib/ppl/command/email.rb
ppl-1.16.0 lib/ppl/command/email.rb
ppl-1.15.1 lib/ppl/command/email.rb
ppl-1.15.0 lib/ppl/command/email.rb