ppl 3.0.0 → 4.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.editorconfig +16 -0
- data/.eleventy.js +86 -0
- data/.eleventyignore +1 -0
- data/.github/workflows/build.yml +61 -0
- data/.gitignore +3 -1
- data/Rakefile +1 -18
- data/{CODE_OF_CONDUCT.md → code_of_conduct.md} +1 -1
- data/features/step_definitions/ppl_steps.rb +27 -27
- data/gh-pages/Gemfile +2 -0
- data/gh-pages/_config.yml +5 -0
- data/gh-pages/_includes/changelog.html +23 -0
- data/gh-pages/_includes/development-sidebar.html +25 -0
- data/gh-pages/_includes/footer.html +22 -0
- data/gh-pages/_includes/header.html +43 -0
- data/gh-pages/_includes/news.html +36 -0
- data/gh-pages/_includes/tip.html +54 -0
- data/gh-pages/_layouts/changelog.html +1 -0
- data/gh-pages/_layouts/command.html +104 -0
- data/gh-pages/_layouts/configuration.html +71 -0
- data/gh-pages/_layouts/development.html +20 -0
- data/gh-pages/_layouts/frontpage.html +6 -0
- data/gh-pages/_layouts/integration.html +44 -0
- data/gh-pages/_layouts/news.html +2 -0
- data/gh-pages/_layouts/page.html +6 -0
- data/gh-pages/_layouts/tip.html +2 -0
- data/gh-pages/_posts/2012-01-15-first-post.md +16 -0
- data/gh-pages/_posts/2012-12-20-1.0.0.md +19 -0
- data/gh-pages/_posts/2012-12-20-1.1.0.md +28 -0
- data/gh-pages/_posts/2012-12-20-1.2.0.md +18 -0
- data/gh-pages/_posts/2012-12-21-1.3.0.md +20 -0
- data/gh-pages/_posts/2012-12-21-thank-you-for-your-all-your-feedback.md +26 -0
- data/gh-pages/_posts/2012-12-22-1.4.1.md +21 -0
- data/gh-pages/_posts/2012-12-22-1.5.0.md +17 -0
- data/gh-pages/_posts/2012-12-23-1.5.1.md +13 -0
- data/gh-pages/_posts/2012-12-23-1.5.2.md +15 -0
- data/gh-pages/_posts/2012-12-26-1.5.3.md +19 -0
- data/gh-pages/_posts/2012-12-27-1.6.0.md +18 -0
- data/gh-pages/_posts/2012-12-29-1.7.0.md +18 -0
- data/gh-pages/_posts/2013-01-05-1.8.0.md +18 -0
- data/gh-pages/_posts/2013-01-06-1.9.0.md +20 -0
- data/gh-pages/_posts/2013-01-10-1.10.0.md +18 -0
- data/gh-pages/_posts/2013-01-20-1.11.0.md +14 -0
- data/gh-pages/_posts/2013-02-16-1.12.0.md +14 -0
- data/gh-pages/_posts/2013-02-17-1.13.0.md +29 -0
- data/gh-pages/_posts/2013-02-17-1.14.0.md +15 -0
- data/gh-pages/_posts/2013-02-17-1.14.1.md +18 -0
- data/gh-pages/_posts/2013-02-17-two-months-in.md +27 -0
- data/gh-pages/_posts/2013-03-16-1.15.0.md +28 -0
- data/gh-pages/_posts/2013-03-16-coloured-output-released.md +27 -0
- data/gh-pages/_posts/2013-04-10-ruby-2.0-compatibility.md +28 -0
- data/gh-pages/_posts/2013-04-11-1.15.1.md +13 -0
- data/gh-pages/_posts/2013-04-12-1.16.0.md +22 -0
- data/gh-pages/_posts/2013-04-14-1.17.0.md +15 -0
- data/gh-pages/_posts/2013-04-14-1.17.1.md +20 -0
- data/gh-pages/_posts/2013-04-14-1.17.2.md +13 -0
- data/gh-pages/_posts/2013-04-15-sync-alias.md +31 -0
- data/gh-pages/_posts/2013-04-15-utf8-fixed-and-more.md +37 -0
- data/gh-pages/_posts/2013-04-16-1.18.0.md +15 -0
- data/gh-pages/_posts/2013-04-16-set-up-color-output.md +47 -0
- data/gh-pages/_posts/2013-04-19-1.19.0.md +13 -0
- data/gh-pages/_posts/2013-04-19-1.20.0.md +15 -0
- data/gh-pages/_posts/2013-04-20-1.21.0.md +16 -0
- data/gh-pages/_posts/2013-04-20-1.22.0.md +14 -0
- data/gh-pages/_posts/2013-04-20-1.22.1.md +13 -0
- data/gh-pages/_posts/2013-04-21-1.22.2.md +15 -0
- data/gh-pages/_posts/2013-04-21-1.23.0.md +35 -0
- data/gh-pages/_posts/2013-04-23-1.24.0.md +16 -0
- data/gh-pages/_posts/2013-04-24-1.25.0.md +21 -0
- data/gh-pages/_posts/2013-05-09-2.0.0.md +33 -0
- data/gh-pages/_posts/2013-05-09-version-2.0.0-released.md +32 -0
- data/gh-pages/_posts/2013-07-20-2.1.0.md +36 -0
- data/gh-pages/_posts/2013-07-20-2.2.0.md +20 -0
- data/gh-pages/_posts/2013-10-12-2.3.0.md +19 -0
- data/gh-pages/_posts/2014-03-30-2.3.1.md +25 -0
- data/gh-pages/_posts/2015-01-05-2.3.2.md +18 -0
- data/gh-pages/_posts/2015-12-03-get-involved.md +29 -0
- data/gh-pages/_posts/2015-12-05-2.3.3.md +16 -0
- data/gh-pages/_posts/2016-01-02-2.4.0.md +19 -0
- data/gh-pages/_posts/2017-05-01-2.4.1.md +12 -0
- data/gh-pages/_posts/2017-10-23-sleep-mode.md +18 -0
- data/gh-pages/_posts/2018-01-03-3.0.1.md +12 -0
- data/gh-pages/_stylesheets/ppl/color.less +119 -0
- data/gh-pages/_stylesheets/ppl/layout.less +54 -0
- data/gh-pages/_stylesheets/ppl/style.less +185 -0
- data/gh-pages/_stylesheets/ppl/typography.less +59 -0
- data/gh-pages/development/changelog/index.md +18 -0
- data/gh-pages/development/changelog/split.rb +51 -0
- data/gh-pages/development/index.html +32 -0
- data/gh-pages/development/roadmap/index.md +15 -0
- data/gh-pages/documentation/about/index.html +63 -0
- data/gh-pages/documentation/commands/add/index.md +43 -0
- data/gh-pages/documentation/commands/age/add/index.md +40 -0
- data/gh-pages/documentation/commands/age/index.md +38 -0
- data/gh-pages/documentation/commands/bday/index.md +44 -0
- data/gh-pages/documentation/commands/completion/index.md +38 -0
- data/gh-pages/documentation/commands/email/index.md +64 -0
- data/gh-pages/documentation/commands/grep/index.md +32 -0
- data/gh-pages/documentation/commands/init/index.md +28 -0
- data/gh-pages/documentation/commands/ls/index.md +55 -0
- data/gh-pages/documentation/commands/mutt/index.md +36 -0
- data/gh-pages/documentation/commands/mv/index.md +26 -0
- data/gh-pages/documentation/commands/name/index.md +45 -0
- data/gh-pages/documentation/commands/nick/index.md +44 -0
- data/gh-pages/documentation/commands/org/index.md +45 -0
- data/gh-pages/documentation/commands/phone/index.md +56 -0
- data/gh-pages/documentation/commands/post/index.md +61 -0
- data/gh-pages/documentation/commands/pull/index.md +39 -0
- data/gh-pages/documentation/commands/push/index.md +36 -0
- data/gh-pages/documentation/commands/remote/index.md +40 -0
- data/gh-pages/documentation/commands/rm/index.md +23 -0
- data/gh-pages/documentation/commands/scrape/index.md +38 -0
- data/gh-pages/documentation/commands/shell/index.md +39 -0
- data/gh-pages/documentation/commands/show/index.md +33 -0
- data/gh-pages/documentation/commands/url/index.md +44 -0
- data/gh-pages/documentation/commands/version/index.md +27 -0
- data/gh-pages/documentation/configuration/address_book/index.md +22 -0
- data/gh-pages/documentation/configuration/alias/index.md +45 -0
- data/gh-pages/documentation/configuration/color/index.md +47 -0
- data/gh-pages/documentation/configuration/color_age/index.md +20 -0
- data/gh-pages/documentation/configuration/color_bday/index.md +20 -0
- data/gh-pages/documentation/configuration/color_email/index.md +21 -0
- data/gh-pages/documentation/configuration/color_ls/index.md +21 -0
- data/gh-pages/documentation/configuration/color_name/index.md +20 -0
- data/gh-pages/documentation/configuration/color_nick/index.md +20 -0
- data/gh-pages/documentation/configuration/color_org/index.md +20 -0
- data/gh-pages/documentation/configuration/color_phone/index.md +22 -0
- data/gh-pages/documentation/configuration/color_post/index.md +20 -0
- data/gh-pages/documentation/configuration/color_url/index.md +20 -0
- data/gh-pages/documentation/configuration/index.html +8 -0
- data/gh-pages/documentation/index.html +183 -0
- data/gh-pages/documentation/integration/bash/index.md +23 -0
- data/gh-pages/documentation/integration/google/index.md +26 -0
- data/gh-pages/documentation/integration/index.html +8 -0
- data/gh-pages/documentation/integration/mutt/index.md +35 -0
- data/gh-pages/documentation/integration/zsh/index.md +19 -0
- data/gh-pages/documentation/quick-start/index.html +88 -0
- data/gh-pages/documentation/tips/index.html +9 -0
- data/gh-pages/index.html +108 -0
- data/gh-pages/news/index.html +9 -0
- data/gh-pages/robots.txt +3 -0
- data/gh-pages/stylesheets/flatstrap.css +10 -0
- data/gh-pages/stylesheets/ppl.scss +235 -0
- data/gh-pages/wiki.png +0 -0
- data/lib/ppl.rb +4 -1
- data/lib/ppl/adapter/color.rb +0 -1
- data/lib/ppl/adapter/color/colored.rb +0 -1
- data/lib/ppl/adapter/email_scraper.rb +0 -1
- data/lib/ppl/adapter/email_scraper/mail.rb +4 -5
- data/lib/ppl/adapter/storage.rb +0 -1
- data/lib/ppl/adapter/storage/disk.rb +0 -1
- data/lib/ppl/adapter/storage/factory.rb +0 -1
- data/lib/ppl/adapter/vcard.rb +0 -1
- data/lib/ppl/adapter/vcard/vpim.rb +5 -1
- data/lib/ppl/application/bootstrap.rb +0 -1
- data/lib/ppl/application/command.rb +0 -1
- data/lib/ppl/application/command_suite.rb +0 -1
- data/lib/ppl/application/configuration.rb +0 -1
- data/lib/ppl/application/input.rb +0 -1
- data/lib/ppl/application/output.rb +0 -1
- data/lib/ppl/application/router.rb +0 -1
- data/lib/ppl/application/shell.rb +0 -1
- data/lib/ppl/command/add.rb +0 -1
- data/lib/ppl/command/age.rb +0 -1
- data/lib/ppl/command/attribute.rb +0 -1
- data/lib/ppl/command/bday.rb +0 -1
- data/lib/ppl/command/completion.rb +0 -1
- data/lib/ppl/command/email.rb +0 -1
- data/lib/ppl/command/external.rb +0 -1
- data/lib/ppl/command/help.rb +0 -1
- data/lib/ppl/command/init.rb +0 -1
- data/lib/ppl/command/ls.rb +0 -1
- data/lib/ppl/command/mutt.rb +0 -1
- data/lib/ppl/command/mv.rb +0 -1
- data/lib/ppl/command/name.rb +0 -1
- data/lib/ppl/command/nick.rb +0 -1
- data/lib/ppl/command/org.rb +0 -1
- data/lib/ppl/command/phone.rb +0 -1
- data/lib/ppl/command/post.rb +0 -1
- data/lib/ppl/command/rm.rb +0 -1
- data/lib/ppl/command/scrape.rb +0 -1
- data/lib/ppl/command/shell.rb +0 -1
- data/lib/ppl/command/show.rb +0 -1
- data/lib/ppl/command/url.rb +0 -1
- data/lib/ppl/command/version.rb +0 -1
- data/lib/ppl/entity/address_book.rb +0 -1
- data/lib/ppl/entity/contact.rb +0 -1
- data/lib/ppl/entity/email_address.rb +0 -1
- data/lib/ppl/entity/name.rb +0 -1
- data/lib/ppl/entity/phone_number.rb +0 -1
- data/lib/ppl/entity/postal_address.rb +0 -1
- data/lib/ppl/error/completion_not_found.rb +0 -1
- data/lib/ppl/error/contact_not_found.rb +0 -1
- data/lib/ppl/error/incorrect_usage.rb +0 -1
- data/lib/ppl/error/invalid_vcard.rb +1 -0
- data/lib/ppl/error/postal_address_not_found.rb +0 -1
- data/lib/ppl/format/address_book.rb +0 -1
- data/lib/ppl/format/address_book/ages.rb +0 -1
- data/lib/ppl/format/address_book/birthdays.rb +0 -1
- data/lib/ppl/format/address_book/email_addresses.rb +0 -1
- data/lib/ppl/format/address_book/mutt_query.rb +0 -1
- data/lib/ppl/format/address_book/names.rb +0 -1
- data/lib/ppl/format/address_book/nicknames.rb +0 -1
- data/lib/ppl/format/address_book/one_line.rb +0 -1
- data/lib/ppl/format/address_book/organizations.rb +0 -1
- data/lib/ppl/format/address_book/phone_numbers.rb +0 -1
- data/lib/ppl/format/address_book/postal_addresses.rb +0 -1
- data/lib/ppl/format/address_book/urls.rb +0 -1
- data/lib/ppl/format/contact.rb +0 -1
- data/lib/ppl/format/contact/age.rb +0 -1
- data/lib/ppl/format/contact/birthday.rb +0 -1
- data/lib/ppl/format/contact/email_addresses.rb +0 -1
- data/lib/ppl/format/contact/full.rb +0 -1
- data/lib/ppl/format/contact/nicknames.rb +0 -1
- data/lib/ppl/format/contact/organization.rb +0 -1
- data/lib/ppl/format/contact/phone_number.rb +0 -1
- data/lib/ppl/format/contact/postal_address.rb +0 -1
- data/lib/ppl/format/contact/postal_addresses.rb +0 -1
- data/lib/ppl/format/contact/urls.rb +0 -1
- data/lib/ppl/format/custom.rb +0 -1
- data/lib/ppl/format/custom/contact.rb +0 -1
- data/lib/ppl/format/custom/email_address.rb +0 -1
- data/lib/ppl/format/custom/phone_number.rb +0 -1
- data/lib/ppl/format/name.rb +0 -1
- data/lib/ppl/format/name/full_only.rb +0 -1
- data/lib/ppl/format/postal_address.rb +0 -1
- data/lib/ppl/format/postal_address/multi_line.rb +0 -1
- data/lib/ppl/format/postal_address/one_line.rb +0 -1
- data/lib/ppl/format/table.rb +0 -1
- data/lib/ppl/service/email_address.rb +0 -1
- data/lib/ppl/service/name.rb +0 -1
- data/lib/ppl/service/phone_number.rb +0 -1
- data/lib/ppl/service/postal_address.rb +0 -1
- data/{LICENSE → license} +0 -0
- data/makefile +18 -0
- data/package.json +23 -0
- data/ppl.gemspec +15 -13
- data/{README.md → readme.md} +12 -9
- data/site/_data/url.js +4 -0
- data/site/casts/hero.cast +189 -0
- data/site/development.njk +6 -0
- data/site/documentation.njk +6 -0
- data/site/index.njk +75 -0
- data/site/news.njk +6 -0
- data/site/style.scss +140 -0
- data/spec/ppl/adapter/color/colored_spec.rb +3 -4
- data/spec/ppl/adapter/color_spec.rb +0 -1
- data/spec/ppl/adapter/email_scraper/mail_spec.rb +13 -13
- data/spec/ppl/adapter/email_scraper_spec.rb +0 -1
- data/spec/ppl/adapter/output_spec.rb +7 -8
- data/spec/ppl/adapter/storage/disk_spec.rb +18 -19
- data/spec/ppl/adapter/storage/factory_spec.rb +3 -4
- data/spec/ppl/adapter/storage/git_spec.rb +31 -32
- data/spec/ppl/adapter/storage_spec.rb +3 -4
- data/spec/ppl/adapter/vcard/greencard_spec.rb +45 -45
- data/spec/ppl/adapter/vcard_spec.rb +0 -1
- data/spec/ppl/application/bootstrap_spec.rb +128 -129
- data/spec/ppl/application/command_spec.rb +8 -9
- data/spec/ppl/application/command_suite_spec.rb +7 -8
- data/spec/ppl/application/configuration_spec.rb +16 -17
- data/spec/ppl/application/input_spec.rb +2 -3
- data/spec/ppl/application/router_spec.rb +8 -9
- data/spec/ppl/application/shell_spec.rb +39 -40
- data/spec/ppl/command/add_spec.rb +6 -7
- data/spec/ppl/command/age_spec.rb +7 -8
- data/spec/ppl/command/attribute_spec.rb +22 -23
- data/spec/ppl/command/bday_spec.rb +11 -12
- data/spec/ppl/command/completion_spec.rb +7 -8
- data/spec/ppl/command/email_spec.rb +19 -20
- data/spec/ppl/command/external_spec.rb +7 -8
- data/spec/ppl/command/help_spec.rb +15 -16
- data/spec/ppl/command/init_spec.rb +5 -6
- data/spec/ppl/command/ls_spec.rb +12 -13
- data/spec/ppl/command/mutt_spec.rb +33 -34
- data/spec/ppl/command/mv_spec.rb +11 -12
- data/spec/ppl/command/name_spec.rb +17 -18
- data/spec/ppl/command/nick_spec.rb +1 -2
- data/spec/ppl/command/org_spec.rb +1 -2
- data/spec/ppl/command/phone_spec.rb +15 -16
- data/spec/ppl/command/post_spec.rb +29 -30
- data/spec/ppl/command/rm_spec.rb +3 -4
- data/spec/ppl/command/scrape_spec.rb +24 -25
- data/spec/ppl/command/shell_spec.rb +41 -42
- data/spec/ppl/command/show_spec.rb +4 -5
- data/spec/ppl/command/url_spec.rb +1 -2
- data/spec/ppl/command/version_spec.rb +4 -5
- data/spec/ppl/entity/address_book_spec.rb +1 -2
- data/spec/ppl/entity/contact_spec.rb +16 -17
- data/spec/ppl/entity/email_address_spec.rb +3 -4
- data/spec/ppl/entity/name_spec.rb +1 -2
- data/spec/ppl/entity/phone_number_spec.rb +5 -6
- data/spec/ppl/entity/postal_address_spec.rb +2 -3
- data/spec/ppl/format/address_book/ages_spec.rb +3 -4
- data/spec/ppl/format/address_book/birthdays_spec.rb +3 -4
- data/spec/ppl/format/address_book/email_addresses_spec.rb +3 -4
- data/spec/ppl/format/address_book/mutt_query_spec.rb +3 -4
- data/spec/ppl/format/address_book/names_spec.rb +3 -4
- data/spec/ppl/format/address_book/nicknames_spec.rb +4 -5
- data/spec/ppl/format/address_book/one_line_spec.rb +5 -6
- data/spec/ppl/format/address_book/organizations_spec.rb +3 -4
- data/spec/ppl/format/address_book/phone_numbers_spec.rb +3 -4
- data/spec/ppl/format/address_book/postal_addresses_spec.rb +2 -3
- data/spec/ppl/format/address_book/urls_spec.rb +3 -4
- data/spec/ppl/format/address_book_spec.rb +0 -1
- data/spec/ppl/format/contact/age_spec.rb +8 -9
- data/spec/ppl/format/contact/birthday_spec.rb +4 -5
- data/spec/ppl/format/contact/email_addresses_spec.rb +3 -4
- data/spec/ppl/format/contact/full_spec.rb +11 -12
- data/spec/ppl/format/contact/nicknames_spec.rb +4 -5
- data/spec/ppl/format/contact/organization_spec.rb +4 -5
- data/spec/ppl/format/contact/phone_number_spec.rb +4 -5
- data/spec/ppl/format/contact/postal_address_spec.rb +1 -2
- data/spec/ppl/format/contact/postal_addresses_spec.rb +3 -4
- data/spec/ppl/format/contact/urls_spec.rb +4 -5
- data/spec/ppl/format/contact_spec.rb +0 -1
- data/spec/ppl/format/custom/contact_spec.rb +13 -14
- data/spec/ppl/format/custom/email_address_spec.rb +3 -4
- data/spec/ppl/format/custom/phone_number_spec.rb +4 -5
- data/spec/ppl/format/custom_spec.rb +6 -7
- data/spec/ppl/format/name/full_only_spec.rb +4 -5
- data/spec/ppl/format/name_spec.rb +0 -1
- data/spec/ppl/format/postal_address/multi_line_spec.rb +10 -11
- data/spec/ppl/format/postal_address/one_line_spec.rb +9 -10
- data/spec/ppl/format/postal_address_spec.rb +0 -1
- data/spec/ppl/format/table_spec.rb +11 -11
- data/spec/ppl/service/email_address_spec.rb +13 -14
- data/spec/ppl/service/name_spec.rb +9 -10
- data/spec/ppl/service/phone_number_spec.rb +11 -12
- data/spec/ppl/service/postal_address_spec.rb +20 -21
- data/spec/spec_helper.rb +4 -0
- data/yarn.lock +3605 -0
- metadata +183 -22
- data/.travis.yml +0 -11
- data/COPYING +0 -339
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: ppl name Manual Page
|
|
3
|
+
layout: command
|
|
4
|
+
section: documentation
|
|
5
|
+
command: name
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
### Name
|
|
9
|
+
|
|
10
|
+
ppl name - List, show or change names
|
|
11
|
+
|
|
12
|
+
### Synopsis
|
|
13
|
+
|
|
14
|
+
ppl name
|
|
15
|
+
ppl name <contact>
|
|
16
|
+
ppl name <contact> <name>
|
|
17
|
+
-f, --family <family-name(s)>
|
|
18
|
+
-g, --given <given-name(s)>
|
|
19
|
+
-m, --middle <middle-name(s)>
|
|
20
|
+
-p, --prefix <prefix>
|
|
21
|
+
-s, --suffix <suffix>
|
|
22
|
+
|
|
23
|
+
### Description
|
|
24
|
+
|
|
25
|
+
With no arguments, the full names of each contact in the address book are
|
|
26
|
+
listed.
|
|
27
|
+
|
|
28
|
+
If a `<contact>` is specified, the full name of that contact is shown.
|
|
29
|
+
|
|
30
|
+
If both a `<contact>` and a `<name>` are given, then the name is stored as the
|
|
31
|
+
full name of the contact.
|
|
32
|
+
|
|
33
|
+
### Examples
|
|
34
|
+
|
|
35
|
+
$ ppl name jdoe "John Doe"
|
|
36
|
+
$ ppl name adam "Adam West" --family West -g Adam
|
|
37
|
+
$ ppl name jdoe
|
|
38
|
+
John Doe
|
|
39
|
+
$ ppl name
|
|
40
|
+
adam: Adam West
|
|
41
|
+
jdoe: John Doe
|
|
42
|
+
|
|
43
|
+
### See Also
|
|
44
|
+
|
|
45
|
+
* [color output](/documentation/configuration/color_name)
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: ppl nick Manual Page
|
|
3
|
+
layout: command
|
|
4
|
+
section: documentation
|
|
5
|
+
command: nick
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
### Name
|
|
9
|
+
|
|
10
|
+
ppl nick - List, show or change nicknames
|
|
11
|
+
|
|
12
|
+
### Synopsis
|
|
13
|
+
|
|
14
|
+
ppl nick (--no-color)
|
|
15
|
+
ppl nick <contact>
|
|
16
|
+
ppl nick <contact> <nickname>
|
|
17
|
+
ppl nick <contact> (-d | --delete) <nickname>
|
|
18
|
+
|
|
19
|
+
### Description
|
|
20
|
+
|
|
21
|
+
With no arguments, the nicknames of each contact in the address book are listed.
|
|
22
|
+
|
|
23
|
+
If a `<contact>` is specified, their nicknames are shown. If both a `<contact>`
|
|
24
|
+
and a `<nickname>` are given, then the nickname is added to the contact. If the
|
|
25
|
+
`--delete` or `-d` flag is set, then the given `<nickname>` is
|
|
26
|
+
deleted from the specified `<contact>`.
|
|
27
|
+
|
|
28
|
+
If the `--no-color` flag is set, then the list of nicknames will be printed
|
|
29
|
+
without any ANSI color escape codes, regardless of any configuration settings.
|
|
30
|
+
|
|
31
|
+
### Examples
|
|
32
|
+
|
|
33
|
+
$ ppl nick jdoe Johnny
|
|
34
|
+
$ ppl nick fred Freddy
|
|
35
|
+
$ ppl nick jdoe
|
|
36
|
+
Johnny
|
|
37
|
+
$ ppl nick
|
|
38
|
+
fred: Freddy
|
|
39
|
+
jdoe: Johnny
|
|
40
|
+
|
|
41
|
+
### See Also
|
|
42
|
+
|
|
43
|
+
* [color output](/documentation/configuration/color_nick)
|
|
44
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: ppl org Manual Page
|
|
3
|
+
layout: command
|
|
4
|
+
section: documentation
|
|
5
|
+
command: org
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
### Name
|
|
9
|
+
|
|
10
|
+
ppl org - List, show or change organizations
|
|
11
|
+
|
|
12
|
+
### Synopsis
|
|
13
|
+
|
|
14
|
+
ppl org
|
|
15
|
+
ppl org <contact>
|
|
16
|
+
ppl org <contact> <organization>
|
|
17
|
+
ppl org <contact> (-d | --delete) <organization>
|
|
18
|
+
|
|
19
|
+
### Description
|
|
20
|
+
|
|
21
|
+
With no arguments, the organizations of each contact in the address book are
|
|
22
|
+
listed.
|
|
23
|
+
|
|
24
|
+
If a `<contact>` is specified, the organization of that contact is shown.
|
|
25
|
+
|
|
26
|
+
If both a `<contact>` and an `<organization>` are given, then the organization
|
|
27
|
+
is added to that contact's organizations.
|
|
28
|
+
|
|
29
|
+
It the `--delete` or `-d` flag is set, then the given `<organization>` is
|
|
30
|
+
deleted from the specified `<contact>`.
|
|
31
|
+
|
|
32
|
+
### Examples
|
|
33
|
+
|
|
34
|
+
$ ppl org jdoe "Free Software Foundation"
|
|
35
|
+
$ ppl org adam "Microsoft Corporation"
|
|
36
|
+
$ ppl org jdoe
|
|
37
|
+
Free Software Foundation
|
|
38
|
+
$ ppl org
|
|
39
|
+
adam: Microsoft Corporation
|
|
40
|
+
jdoe: Free Software Foundation
|
|
41
|
+
|
|
42
|
+
### See Also
|
|
43
|
+
|
|
44
|
+
* [color output](/documentation/configuration/color_org)
|
|
45
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: ppl phone Manual Page
|
|
3
|
+
layout: command
|
|
4
|
+
section: documentation
|
|
5
|
+
command: phone
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
### Name
|
|
9
|
+
|
|
10
|
+
ppl phone - List, show or change phone numbers
|
|
11
|
+
|
|
12
|
+
### Synopsis
|
|
13
|
+
|
|
14
|
+
ppl phone
|
|
15
|
+
ppl phone <contact>
|
|
16
|
+
ppl phone <contact> <phone-number>
|
|
17
|
+
ppl phone <contact> <phone-number>
|
|
18
|
+
-d, --delete delete phone number
|
|
19
|
+
-t, --type <type> set the number's type
|
|
20
|
+
-p, --preferred mark as preferred
|
|
21
|
+
-P, --not-preferred mark as not preferred
|
|
22
|
+
|
|
23
|
+
### Description
|
|
24
|
+
|
|
25
|
+
With no arguments, the phone numbers of each contact in the address book are
|
|
26
|
+
listed.
|
|
27
|
+
|
|
28
|
+
If a `<contact>` is specified, the phone number of that contact is shown.
|
|
29
|
+
|
|
30
|
+
If both a `<contact>` and a `<phone-number>` are given, then the number is added
|
|
31
|
+
to the contact's phone numbers.
|
|
32
|
+
|
|
33
|
+
It the `--delete` or `-d` flag is set, then the given `<phone-number>` is
|
|
34
|
+
deleted from the specified `<contact>`.
|
|
35
|
+
|
|
36
|
+
Use the `--type <type>` option to assign a type to the phone number. You can use
|
|
37
|
+
this option both when adding a new number or to amend an existing number.
|
|
38
|
+
|
|
39
|
+
The `--preferred` and `--not-preferred` flags are for marking a given phone
|
|
40
|
+
number as "preferred" or not. Internally, this status is represented with
|
|
41
|
+
vCard's `TYPE=pref` parameter in the `TEL` field. Preferred phone numbers are
|
|
42
|
+
shown with a `*` next to them in the output of `ppl phone <contact>`.
|
|
43
|
+
|
|
44
|
+
### Examples
|
|
45
|
+
|
|
46
|
+
$ ppl phone jdoe 0123456789 --type cell
|
|
47
|
+
$ ppl phone adam 0777111222
|
|
48
|
+
$ ppl phone jdoe
|
|
49
|
+
0123456789 (cell)
|
|
50
|
+
$ ppl phone
|
|
51
|
+
adam: 0777111222
|
|
52
|
+
jdoe: 0123456789
|
|
53
|
+
|
|
54
|
+
### See Also
|
|
55
|
+
|
|
56
|
+
* [color output](/documentation/configuration/color_phone)
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: ppl post Manual Page
|
|
3
|
+
layout: command
|
|
4
|
+
section: documentation
|
|
5
|
+
command: post
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
### Name
|
|
9
|
+
|
|
10
|
+
ppl post - List, show or change postal addresses
|
|
11
|
+
|
|
12
|
+
### Synopsis
|
|
13
|
+
|
|
14
|
+
ppl post
|
|
15
|
+
ppl post <contact>
|
|
16
|
+
ppl post <contact> <address>
|
|
17
|
+
-s, --street <street-address>
|
|
18
|
+
-z, --postal-code <postal-code>
|
|
19
|
+
-p, --po-box <po-box>
|
|
20
|
+
-l, --locality <locality>
|
|
21
|
+
-r, --region <region>
|
|
22
|
+
-c, --country <country>
|
|
23
|
+
ppl post <contact> <address> (-m | --move) <new-name>
|
|
24
|
+
|
|
25
|
+
### Description
|
|
26
|
+
|
|
27
|
+
With no arguments, the postal addresses of each contact in the address book are
|
|
28
|
+
listed.
|
|
29
|
+
|
|
30
|
+
If a just a `<contact>` is specified, the postal addresses of that contact are
|
|
31
|
+
shown.
|
|
32
|
+
|
|
33
|
+
If both a `<contact>` and an `<address>` are specified, an address will be
|
|
34
|
+
created or updated using the options provided.
|
|
35
|
+
|
|
36
|
+
Use the `-m` or `--move` flag to move an address to a new ID.
|
|
37
|
+
|
|
38
|
+
### Examples
|
|
39
|
+
|
|
40
|
+
$ ppl post
|
|
41
|
+
alice: home, work
|
|
42
|
+
jdoe: home
|
|
43
|
+
$ ppl post alice
|
|
44
|
+
* home 3701 Southwest 12th Street, Topeka, Kansas, USA
|
|
45
|
+
work 123 Business Road, Businesstown, USA
|
|
46
|
+
$ ppl post alice home
|
|
47
|
+
3701 Southwest 12th Street
|
|
48
|
+
Topeka
|
|
49
|
+
Kansas
|
|
50
|
+
USA
|
|
51
|
+
$ ppl post alice home --country Canada
|
|
52
|
+
$ ppl post alice home
|
|
53
|
+
3701 Southwest 12th Street
|
|
54
|
+
Topeka
|
|
55
|
+
Kansas
|
|
56
|
+
Canada
|
|
57
|
+
|
|
58
|
+
### See Also
|
|
59
|
+
|
|
60
|
+
* [color output](/documentation/configuration/color_post)
|
|
61
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: ppl pull Manual Page
|
|
3
|
+
layout: command
|
|
4
|
+
section: documentation
|
|
5
|
+
command: pull
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
### Name
|
|
9
|
+
|
|
10
|
+
ppl pull - Execute `git pull` in the address book directory
|
|
11
|
+
|
|
12
|
+
### Synopsis
|
|
13
|
+
|
|
14
|
+
ppl pull <remote> <branch>
|
|
15
|
+
|
|
16
|
+
### Description
|
|
17
|
+
|
|
18
|
+
This command is an alias of `git pull`. It is intended to make it more
|
|
19
|
+
convenient to use git to synchronise your address book. The rationale is that it
|
|
20
|
+
is tiresome to have to type `cd ~/contacts` and then `git pull origin master`.
|
|
21
|
+
Assuming you have configured ppl to [remember the location of your address
|
|
22
|
+
book](/documentation/configuration/address_book), then `ppl pull origin master`
|
|
23
|
+
is the equivalent of those two commands.
|
|
24
|
+
|
|
25
|
+
Note that this command literally executes the git command `push` in the address
|
|
26
|
+
book directory. If you don't have the git CLI tool installed, this command will
|
|
27
|
+
not work.
|
|
28
|
+
|
|
29
|
+
### Examples
|
|
30
|
+
|
|
31
|
+
$ ppl pull origin master
|
|
32
|
+
Already up-to-date.
|
|
33
|
+
|
|
34
|
+
### See Also
|
|
35
|
+
|
|
36
|
+
* [git pull](http://git-scm.com/docs/git-pull)
|
|
37
|
+
* [ppl push](/documentation/commands/push)
|
|
38
|
+
* [ppl remote](/documentation/commands/push)
|
|
39
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: ppl push Manual Page
|
|
3
|
+
layout: command
|
|
4
|
+
section: documentation
|
|
5
|
+
command: push
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
### Name
|
|
9
|
+
|
|
10
|
+
ppl push - Execute `git push` in the address book directory
|
|
11
|
+
|
|
12
|
+
### Synopsis
|
|
13
|
+
|
|
14
|
+
ppl push <remote> <branch>
|
|
15
|
+
|
|
16
|
+
### Description
|
|
17
|
+
|
|
18
|
+
This command is an alias of `git push`. It is intended to make it more
|
|
19
|
+
convenient to use git to synchronise your address book. See the documentation
|
|
20
|
+
for [git pull](/documentation/commands/pull) for more details.
|
|
21
|
+
|
|
22
|
+
Note that this command literally executes the git command `push` in the address
|
|
23
|
+
book directory. If you don't have the git CLI tool installed, this command will
|
|
24
|
+
not work.
|
|
25
|
+
|
|
26
|
+
### Examples
|
|
27
|
+
|
|
28
|
+
$ ppl push origin master
|
|
29
|
+
Everything up-to-date.
|
|
30
|
+
|
|
31
|
+
### See Also
|
|
32
|
+
|
|
33
|
+
* [git push](http://git-scm.com/docs/git-push)
|
|
34
|
+
* [ppl pull](/documentation/commands/pull)
|
|
35
|
+
* [ppl remote](/documentation/commands/push)
|
|
36
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: ppl remote Manual Page
|
|
3
|
+
layout: command
|
|
4
|
+
section: documentation
|
|
5
|
+
command: remote
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
### Name
|
|
9
|
+
|
|
10
|
+
ppl remote - Execute `git remote` in the address book directory
|
|
11
|
+
|
|
12
|
+
### Synopsis
|
|
13
|
+
|
|
14
|
+
ppl remote [-v | --verbose]
|
|
15
|
+
ppl remote rename <old> <new>
|
|
16
|
+
ppl remote rm <name>
|
|
17
|
+
|
|
18
|
+
### Description
|
|
19
|
+
|
|
20
|
+
This command is an alias of `git remote`. It is intended to make it more
|
|
21
|
+
convenient to use git to synchronise your address book. See the documentation
|
|
22
|
+
for [git pull](/documentation/commands/pull) for more details.
|
|
23
|
+
|
|
24
|
+
Note that this command literally executes the git command `remote` in the
|
|
25
|
+
address book directory. If you don't have the git CLI tool installed, this
|
|
26
|
+
command will not work.
|
|
27
|
+
|
|
28
|
+
### Examples
|
|
29
|
+
|
|
30
|
+
$ ppl remote
|
|
31
|
+
origin
|
|
32
|
+
github
|
|
33
|
+
$ ppl remote rm github
|
|
34
|
+
|
|
35
|
+
### See Also
|
|
36
|
+
|
|
37
|
+
* [git remote](http://git-scm.com/docs/git-remote)
|
|
38
|
+
* [ppl pull](/documentation/commands/pull)
|
|
39
|
+
* [ppl push](/documentation/commands/push)
|
|
40
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: ppl rm Manual Page
|
|
3
|
+
layout: command
|
|
4
|
+
section: documentation
|
|
5
|
+
command: rm
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
### Name
|
|
9
|
+
|
|
10
|
+
ppl rm - Delete a contact
|
|
11
|
+
|
|
12
|
+
### Synopsis
|
|
13
|
+
|
|
14
|
+
ppl rm <contact>
|
|
15
|
+
|
|
16
|
+
### Description
|
|
17
|
+
|
|
18
|
+
Delete the specified `<contact>` from the address book.
|
|
19
|
+
|
|
20
|
+
### Examples
|
|
21
|
+
|
|
22
|
+
ppl rm jdoe
|
|
23
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: ppl scrape Manual Page
|
|
3
|
+
layout: command
|
|
4
|
+
section: documentation
|
|
5
|
+
command: scrape
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
### Name
|
|
9
|
+
|
|
10
|
+
ppl scrape - Scrape contact details from an email in `stdin`
|
|
11
|
+
|
|
12
|
+
### Synopsis
|
|
13
|
+
|
|
14
|
+
ppl scrape [<options>]
|
|
15
|
+
-q, --quiet Add contacts to the address book without prompting
|
|
16
|
+
-s, --sender Scrape the sender's contact details
|
|
17
|
+
|
|
18
|
+
### Description
|
|
19
|
+
|
|
20
|
+
Reads an email message from stdin and scrapes contact information from it into
|
|
21
|
+
the address book. By default nothing will be scraped; the command must be told
|
|
22
|
+
explicitly which information to scrape via its arguments.
|
|
23
|
+
|
|
24
|
+
If the `--sender` option is used, then the details of the person in the email's
|
|
25
|
+
`From:` header will be scraped into the address book.
|
|
26
|
+
|
|
27
|
+
If the `--quiet` option is used, the command will not prompt the user to confirm
|
|
28
|
+
whether they approve of each contact before saving them to the address book.
|
|
29
|
+
|
|
30
|
+
This command is analogous to [abook](http://abook.sourceforge.net/)'s
|
|
31
|
+
`--add-email` functionality. Both the confirmation prompt and the `--quiet` flag
|
|
32
|
+
are provided with the intention of achieving feature parity with this part of
|
|
33
|
+
abook.
|
|
34
|
+
|
|
35
|
+
### Examples
|
|
36
|
+
|
|
37
|
+
ppl scrape --sender --quiet < ~/Mail/cur/1234.example.org
|
|
38
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: ppl shell Manual Page
|
|
3
|
+
layout: command
|
|
4
|
+
section: documentation
|
|
5
|
+
command: shell
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
### Name
|
|
9
|
+
|
|
10
|
+
ppl shell - Interactive mode
|
|
11
|
+
|
|
12
|
+
### Synopsis
|
|
13
|
+
|
|
14
|
+
ppl shell
|
|
15
|
+
|
|
16
|
+
### Description
|
|
17
|
+
|
|
18
|
+
Opens ppl in interactive mode, allowing users to skip typing "ppl" at the start
|
|
19
|
+
of every single command. This is intended to be useful in the case of longer
|
|
20
|
+
sessions, when a user plans to interact with ppl many times and wants to avoid
|
|
21
|
+
some of the repetition.
|
|
22
|
+
|
|
23
|
+
In interactive mode, all the ppl commands work as normal. The only difference is
|
|
24
|
+
that there is no need to prefix every command with `ppl`. So instead of typing
|
|
25
|
+
`ppl ls`, in interactive mode you would just type `ls`.
|
|
26
|
+
|
|
27
|
+
To exit interactive mode, type `exit`, or send a `sigint` or `eof` (Ctrl+C or
|
|
28
|
+
Ctrl+D usually).
|
|
29
|
+
|
|
30
|
+
### Examples
|
|
31
|
+
|
|
32
|
+
$ ppl shell
|
|
33
|
+
ppl 1.5.2 (type "exit" to leave)
|
|
34
|
+
ppl> ls
|
|
35
|
+
jdoe: John Doe <jdoe@example.org>
|
|
36
|
+
kdoe: Kent Doe <kdoe@example.org>
|
|
37
|
+
ppl> exit
|
|
38
|
+
$
|
|
39
|
+
|