ppl 4.0.3 → 4.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.editorconfig +4 -0
- data/.github/workflows/build.yml +7 -23
- data/.gitignore +0 -4
- data/.ruby-version +1 -0
- data/Gemfile +0 -1
- data/Rakefile +2 -2
- data/code_of_conduct.md +1 -1
- data/demo.svg +1 -0
- data/lib/ppl/adapter/storage/disk.rb +2 -2
- data/lib/ppl/adapter/storage/factory.rb +1 -1
- data/lib/ppl/application/configuration.rb +2 -2
- data/lib/ppl/command/completion.rb +1 -1
- data/lib/ppl/command/shell.rb +1 -1
- data/lib/ppl/command/version.rb +1 -1
- data/lib/ppl/version.rb +5 -0
- data/lib/ppl.rb +1 -4
- data/makefile +12 -1
- data/ppl.gemspec +12 -5
- data/ppl.svg +12 -0
- data/readme.md +4 -4
- data/spec/ppl/adapter/storage/disk_spec.rb +2 -2
- data/spec/ppl/command/completion_spec.rb +2 -2
- data/spec/ppl/command/shell_spec.rb +1 -1
- data/spec/ppl/command/version_spec.rb +1 -1
- metadata +56 -164
- data/.eleventy.js +0 -86
- data/.eleventyignore +0 -1
- data/gh-pages/Gemfile +0 -2
- data/gh-pages/Gemfile.lock +0 -238
- data/gh-pages/_config.yml +0 -5
- data/gh-pages/_includes/changelog.html +0 -23
- data/gh-pages/_includes/development-sidebar.html +0 -25
- data/gh-pages/_includes/footer.html +0 -22
- data/gh-pages/_includes/header.html +0 -43
- data/gh-pages/_includes/news.html +0 -36
- data/gh-pages/_includes/tip.html +0 -54
- data/gh-pages/_layouts/changelog.html +0 -1
- data/gh-pages/_layouts/command.html +0 -104
- data/gh-pages/_layouts/configuration.html +0 -71
- data/gh-pages/_layouts/development.html +0 -20
- data/gh-pages/_layouts/frontpage.html +0 -6
- data/gh-pages/_layouts/integration.html +0 -44
- data/gh-pages/_layouts/news.html +0 -2
- data/gh-pages/_layouts/page.html +0 -6
- data/gh-pages/_layouts/tip.html +0 -2
- data/gh-pages/_posts/2012-01-15-first-post.md +0 -16
- data/gh-pages/_posts/2012-12-20-1.0.0.md +0 -19
- data/gh-pages/_posts/2012-12-20-1.1.0.md +0 -28
- data/gh-pages/_posts/2012-12-20-1.2.0.md +0 -18
- data/gh-pages/_posts/2012-12-21-1.3.0.md +0 -20
- data/gh-pages/_posts/2012-12-21-thank-you-for-your-all-your-feedback.md +0 -26
- data/gh-pages/_posts/2012-12-22-1.4.1.md +0 -21
- data/gh-pages/_posts/2012-12-22-1.5.0.md +0 -17
- data/gh-pages/_posts/2012-12-23-1.5.1.md +0 -13
- data/gh-pages/_posts/2012-12-23-1.5.2.md +0 -15
- data/gh-pages/_posts/2012-12-26-1.5.3.md +0 -19
- data/gh-pages/_posts/2012-12-27-1.6.0.md +0 -18
- data/gh-pages/_posts/2012-12-29-1.7.0.md +0 -18
- data/gh-pages/_posts/2013-01-05-1.8.0.md +0 -18
- data/gh-pages/_posts/2013-01-06-1.9.0.md +0 -20
- data/gh-pages/_posts/2013-01-10-1.10.0.md +0 -18
- data/gh-pages/_posts/2013-01-20-1.11.0.md +0 -14
- data/gh-pages/_posts/2013-02-16-1.12.0.md +0 -14
- data/gh-pages/_posts/2013-02-17-1.13.0.md +0 -29
- data/gh-pages/_posts/2013-02-17-1.14.0.md +0 -15
- data/gh-pages/_posts/2013-02-17-1.14.1.md +0 -18
- data/gh-pages/_posts/2013-02-17-two-months-in.md +0 -27
- data/gh-pages/_posts/2013-03-16-1.15.0.md +0 -28
- data/gh-pages/_posts/2013-03-16-coloured-output-released.md +0 -27
- data/gh-pages/_posts/2013-04-10-ruby-2.0-compatibility.md +0 -28
- data/gh-pages/_posts/2013-04-11-1.15.1.md +0 -13
- data/gh-pages/_posts/2013-04-12-1.16.0.md +0 -22
- data/gh-pages/_posts/2013-04-14-1.17.0.md +0 -15
- data/gh-pages/_posts/2013-04-14-1.17.1.md +0 -20
- data/gh-pages/_posts/2013-04-14-1.17.2.md +0 -13
- data/gh-pages/_posts/2013-04-15-sync-alias.md +0 -31
- data/gh-pages/_posts/2013-04-15-utf8-fixed-and-more.md +0 -37
- data/gh-pages/_posts/2013-04-16-1.18.0.md +0 -15
- data/gh-pages/_posts/2013-04-16-set-up-color-output.md +0 -47
- data/gh-pages/_posts/2013-04-19-1.19.0.md +0 -13
- data/gh-pages/_posts/2013-04-19-1.20.0.md +0 -15
- data/gh-pages/_posts/2013-04-20-1.21.0.md +0 -16
- data/gh-pages/_posts/2013-04-20-1.22.0.md +0 -14
- data/gh-pages/_posts/2013-04-20-1.22.1.md +0 -13
- data/gh-pages/_posts/2013-04-21-1.22.2.md +0 -15
- data/gh-pages/_posts/2013-04-21-1.23.0.md +0 -35
- data/gh-pages/_posts/2013-04-23-1.24.0.md +0 -16
- data/gh-pages/_posts/2013-04-24-1.25.0.md +0 -21
- data/gh-pages/_posts/2013-05-09-2.0.0.md +0 -33
- data/gh-pages/_posts/2013-05-09-version-2.0.0-released.md +0 -32
- data/gh-pages/_posts/2013-07-20-2.1.0.md +0 -36
- data/gh-pages/_posts/2013-07-20-2.2.0.md +0 -20
- data/gh-pages/_posts/2013-10-12-2.3.0.md +0 -19
- data/gh-pages/_posts/2014-03-30-2.3.1.md +0 -25
- data/gh-pages/_posts/2015-01-05-2.3.2.md +0 -18
- data/gh-pages/_posts/2015-12-03-get-involved.md +0 -29
- data/gh-pages/_posts/2015-12-05-2.3.3.md +0 -16
- data/gh-pages/_posts/2016-01-02-2.4.0.md +0 -19
- data/gh-pages/_posts/2017-05-01-2.4.1.md +0 -12
- data/gh-pages/_posts/2017-10-23-sleep-mode.md +0 -18
- data/gh-pages/_posts/2018-01-03-3.0.1.md +0 -12
- data/gh-pages/_stylesheets/ppl/color.less +0 -119
- data/gh-pages/_stylesheets/ppl/layout.less +0 -54
- data/gh-pages/_stylesheets/ppl/style.less +0 -185
- data/gh-pages/_stylesheets/ppl/typography.less +0 -59
- data/gh-pages/development/changelog/index.md +0 -18
- data/gh-pages/development/changelog/split.rb +0 -51
- data/gh-pages/development/index.html +0 -32
- data/gh-pages/development/roadmap/index.md +0 -15
- data/gh-pages/documentation/about/index.html +0 -63
- data/gh-pages/documentation/commands/add/index.md +0 -43
- data/gh-pages/documentation/commands/age/add/index.md +0 -40
- data/gh-pages/documentation/commands/age/index.md +0 -38
- data/gh-pages/documentation/commands/bday/index.md +0 -44
- data/gh-pages/documentation/commands/completion/index.md +0 -38
- data/gh-pages/documentation/commands/email/index.md +0 -64
- data/gh-pages/documentation/commands/grep/index.md +0 -32
- data/gh-pages/documentation/commands/init/index.md +0 -28
- data/gh-pages/documentation/commands/ls/index.md +0 -55
- data/gh-pages/documentation/commands/mutt/index.md +0 -36
- data/gh-pages/documentation/commands/mv/index.md +0 -26
- data/gh-pages/documentation/commands/name/index.md +0 -45
- data/gh-pages/documentation/commands/nick/index.md +0 -44
- data/gh-pages/documentation/commands/org/index.md +0 -45
- data/gh-pages/documentation/commands/phone/index.md +0 -56
- data/gh-pages/documentation/commands/post/index.md +0 -61
- data/gh-pages/documentation/commands/pull/index.md +0 -39
- data/gh-pages/documentation/commands/push/index.md +0 -36
- data/gh-pages/documentation/commands/remote/index.md +0 -40
- data/gh-pages/documentation/commands/rm/index.md +0 -23
- data/gh-pages/documentation/commands/scrape/index.md +0 -38
- data/gh-pages/documentation/commands/shell/index.md +0 -39
- data/gh-pages/documentation/commands/show/index.md +0 -33
- data/gh-pages/documentation/commands/url/index.md +0 -44
- data/gh-pages/documentation/commands/version/index.md +0 -27
- data/gh-pages/documentation/configuration/address_book/index.md +0 -22
- data/gh-pages/documentation/configuration/alias/index.md +0 -45
- data/gh-pages/documentation/configuration/color/index.md +0 -47
- data/gh-pages/documentation/configuration/color_age/index.md +0 -20
- data/gh-pages/documentation/configuration/color_bday/index.md +0 -20
- data/gh-pages/documentation/configuration/color_email/index.md +0 -21
- data/gh-pages/documentation/configuration/color_ls/index.md +0 -21
- data/gh-pages/documentation/configuration/color_name/index.md +0 -20
- data/gh-pages/documentation/configuration/color_nick/index.md +0 -20
- data/gh-pages/documentation/configuration/color_org/index.md +0 -20
- data/gh-pages/documentation/configuration/color_phone/index.md +0 -22
- data/gh-pages/documentation/configuration/color_post/index.md +0 -20
- data/gh-pages/documentation/configuration/color_url/index.md +0 -20
- data/gh-pages/documentation/configuration/index.html +0 -8
- data/gh-pages/documentation/index.html +0 -183
- data/gh-pages/documentation/integration/bash/index.md +0 -23
- data/gh-pages/documentation/integration/google/index.md +0 -26
- data/gh-pages/documentation/integration/index.html +0 -8
- data/gh-pages/documentation/integration/mutt/index.md +0 -35
- data/gh-pages/documentation/integration/zsh/index.md +0 -19
- data/gh-pages/documentation/quick-start/index.html +0 -88
- data/gh-pages/documentation/tips/index.html +0 -9
- data/gh-pages/index.html +0 -108
- data/gh-pages/news/index.html +0 -9
- data/gh-pages/robots.txt +0 -3
- data/gh-pages/stylesheets/flatstrap.css +0 -10
- data/gh-pages/stylesheets/ppl.scss +0 -235
- data/gh-pages/wiki.png +0 -0
- data/package.json +0 -23
- data/site/_data/url.js +0 -4
- data/site/casts/hero.cast +0 -189
- data/site/development.njk +0 -6
- data/site/documentation.njk +0 -6
- data/site/index.njk +0 -75
- data/site/news.njk +0 -6
- data/site/style.scss +0 -140
- data/spec/ppl/adapter/color_spec.rb +0 -14
- data/spec/ppl/adapter/email_scraper_spec.rb +0 -14
- data/spec/ppl/adapter/vcard_spec.rb +0 -23
- data/spec/ppl/format/address_book_spec.rb +0 -17
- data/spec/ppl/format/contact_spec.rb +0 -16
- data/spec/ppl/format/name_spec.rb +0 -17
- data/spec/ppl/format/postal_address_spec.rb +0 -17
- data/yarn.lock +0 -3605
@@ -1,40 +0,0 @@
|
|
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
|
-
|
@@ -1,23 +0,0 @@
|
|
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
|
-
|
@@ -1,38 +0,0 @@
|
|
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
|
-
|
@@ -1,39 +0,0 @@
|
|
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
|
-
|
@@ -1,33 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: ppl show Manual Page
|
3
|
-
layout: command
|
4
|
-
section: documentation
|
5
|
-
command: show
|
6
|
-
---
|
7
|
-
|
8
|
-
### Name
|
9
|
-
|
10
|
-
ppl show - Display a contact's full details
|
11
|
-
|
12
|
-
### Synopsis
|
13
|
-
|
14
|
-
ppl show <contact>
|
15
|
-
|
16
|
-
### Description
|
17
|
-
|
18
|
-
Display the full details of the specified `<contact>`. This command will output
|
19
|
-
all the contact details that are currently stored, including email address, date
|
20
|
-
of birth, organization, and so on.
|
21
|
-
|
22
|
-
### Examples
|
23
|
-
|
24
|
-
$ ppl show jdoe
|
25
|
-
jdoe: John Doe <jdoe@example.org>
|
26
|
-
|
27
|
-
Birthday 1970-01-01
|
28
|
-
|
29
|
-
Phone Numbers:
|
30
|
-
0123456789
|
31
|
-
0543216790
|
32
|
-
|
33
|
-
|
@@ -1,44 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: ppl url Manual Page
|
3
|
-
layout: command
|
4
|
-
section: documentation
|
5
|
-
command: url
|
6
|
-
---
|
7
|
-
|
8
|
-
### Name
|
9
|
-
|
10
|
-
ppl url - List, show or change URLs
|
11
|
-
|
12
|
-
### Synopsis
|
13
|
-
|
14
|
-
ppl url
|
15
|
-
ppl url <contact>
|
16
|
-
ppl url <contact> <url>
|
17
|
-
ppl url <contact> (-d | --delete) <url>
|
18
|
-
|
19
|
-
### Description
|
20
|
-
|
21
|
-
With no arguments, the URLs of each contact in the address book are listed.
|
22
|
-
|
23
|
-
If a `<contact>` is specified, the URLs of that contact are shown.
|
24
|
-
|
25
|
-
If both a `<contact>` and a `<URL>` are given, then the URL is added to the
|
26
|
-
contact.
|
27
|
-
|
28
|
-
If the `--delete` or `-d` flag is set, then the given `<url>` is
|
29
|
-
deleted from the specified `<contact>`.
|
30
|
-
|
31
|
-
### Examples
|
32
|
-
|
33
|
-
$ ppl url jdoe http://facebook.com/jdoe
|
34
|
-
$ ppl url adam http://adamswebsite.com
|
35
|
-
$ ppl url jdoe
|
36
|
-
http://facebook.com/jdoe
|
37
|
-
$ ppl url
|
38
|
-
adam: http://adamswebsite.com
|
39
|
-
jdoe: http://facebook.com/jdoe
|
40
|
-
|
41
|
-
### See Also
|
42
|
-
|
43
|
-
* [color output](/documentation/configuration/color_url)
|
44
|
-
|
@@ -1,27 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: ppl version Manual Page
|
3
|
-
layout: command
|
4
|
-
section: documentation
|
5
|
-
command: version
|
6
|
-
---
|
7
|
-
|
8
|
-
### Name
|
9
|
-
|
10
|
-
ppl version - Display ppl's version number
|
11
|
-
|
12
|
-
### Synopsis
|
13
|
-
|
14
|
-
ppl version
|
15
|
-
|
16
|
-
### Description
|
17
|
-
|
18
|
-
This command simply displays the current version of ppl installed on the system.
|
19
|
-
|
20
|
-
Pre-1.9.0 versions of ppl lack this command, but `gem list --local | grep ppl`
|
21
|
-
ought to do the job just fine in its absence anyway.
|
22
|
-
|
23
|
-
### Examples
|
24
|
-
|
25
|
-
$ ppl version
|
26
|
-
ppl version 1.9.0
|
27
|
-
|
@@ -1,22 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: ppl [address book] Configuration Guide
|
3
|
-
layout: configuration
|
4
|
-
section: documentation
|
5
|
-
config_section: address book
|
6
|
-
---
|
7
|
-
|
8
|
-
### path
|
9
|
-
|
10
|
-
[address book]
|
11
|
-
path = ~/contacts
|
12
|
-
|
13
|
-
By default, ppl determines the location of the address book based on the user's
|
14
|
-
[working directory](http://en.wikipedia.org/wiki/Working_directory). This value
|
15
|
-
overrides that behaviour and sets a particular directory as the location of the
|
16
|
-
address book regardless of the working directory.
|
17
|
-
|
18
|
-
This is intended for the typical use-case where a user of ppl only has one
|
19
|
-
address book. The purpose is to increase the convenience of using ppl with that
|
20
|
-
single address book by removing the requirement that the user first navigate to
|
21
|
-
its directory before reading from or writing to it.
|
22
|
-
|
@@ -1,45 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: ppl [alias] Configuration Guide
|
3
|
-
layout: configuration
|
4
|
-
section: documentation
|
5
|
-
config_section: alias
|
6
|
-
---
|
7
|
-
|
8
|
-
Sometimes typing the same long commands repeatedly becomes tiresome. The
|
9
|
-
`[alias]` section is intended to address this issue by providing a means of
|
10
|
-
configuring shorter forms of commands.
|
11
|
-
|
12
|
-
[alias]
|
13
|
-
l = ls
|
14
|
-
s = show
|
15
|
-
|
16
|
-
Adding the above lines to `~/.pplconfig` would allow the user to interact with
|
17
|
-
ppl as follows:
|
18
|
-
|
19
|
-
$ ppl l
|
20
|
-
jdoe: John Doe <jdoe@example.org>
|
21
|
-
fred: Fred Bloggs <fred@example.org>
|
22
|
-
$ ppl s jdoe
|
23
|
-
John Doe <jdoe@example.org>
|
24
|
-
|
25
|
-
Birthday 1970-01-01
|
26
|
-
Organization Example Organization
|
27
|
-
|
28
|
-
Email Addresses
|
29
|
-
jdoe@example.org
|
30
|
-
|
31
|
-
### Bang Aliases
|
32
|
-
|
33
|
-
ppl's alias system is similar to git's in that it supports executing external
|
34
|
-
commands via aliases prefixed with an exclamation mark, or "bang". In your
|
35
|
-
`~/.pplconfig`, this would look something like the following:
|
36
|
-
|
37
|
-
[alias]
|
38
|
-
lsx = !ppl ls | grep -i x
|
39
|
-
|
40
|
-
The above example creates an alias `lsx` that pipes the output of [ppl
|
41
|
-
ls](/documentation/commands/ls) through `grep -i x`. This means that you
|
42
|
-
effectively create a new command - `ppl lsx` - which is identical to `ppl ls`
|
43
|
-
except that it only displays lines containing the letter x.
|
44
|
-
|
45
|
-
|
@@ -1,47 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: ppl [color] Configuration Guide
|
3
|
-
layout: configuration
|
4
|
-
section: documentation
|
5
|
-
config_section: color
|
6
|
-
---
|
7
|
-
|
8
|
-
By default, ppl's commands output plain text with no [ANSI color escape
|
9
|
-
codes](http://en.wikipedia.org/wiki/ANSI_escape_code). This is good in terms of
|
10
|
-
ppl being a well-behaved, pipeable UNIX CLI program, but some people like a bit
|
11
|
-
more color in their life, and this section of the config file allows those
|
12
|
-
people to selectively enable color output on a per-command basis.
|
13
|
-
|
14
|
-
### Enable color for all commands that support it
|
15
|
-
|
16
|
-
[color]
|
17
|
-
age = true
|
18
|
-
bday = true
|
19
|
-
email = true
|
20
|
-
ls = true
|
21
|
-
name = true
|
22
|
-
nick = true
|
23
|
-
org = true
|
24
|
-
phone = true
|
25
|
-
post = true
|
26
|
-
show = true
|
27
|
-
url = true
|
28
|
-
|
29
|
-
### List of supported colors
|
30
|
-
|
31
|
-
* black
|
32
|
-
* blue
|
33
|
-
* cyan
|
34
|
-
* green
|
35
|
-
* magenta
|
36
|
-
* red
|
37
|
-
* white
|
38
|
-
* yellow
|
39
|
-
|
40
|
-
### Unsupported commands
|
41
|
-
|
42
|
-
The [mutt](/documentation/commands/mutt) command doesn't support color output
|
43
|
-
and never will. It'd be completely pointless.
|
44
|
-
|
45
|
-
The [show](/documentation/commands/show) command doesn't, either, but this is
|
46
|
-
due to be added sometime soon.
|
47
|
-
|
@@ -1,20 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: ppl [color "age"] Configuration Guide
|
3
|
-
layout: configuration
|
4
|
-
section: documentation
|
5
|
-
config_section: color "age"
|
6
|
-
---
|
7
|
-
|
8
|
-
This section dictates the color of the output of the
|
9
|
-
[age](/documentation/commands/age) command.
|
10
|
-
|
11
|
-
### Example
|
12
|
-
|
13
|
-
[color "age"]
|
14
|
-
id = green
|
15
|
-
age = blue
|
16
|
-
|
17
|
-
### See Also
|
18
|
-
|
19
|
-
* [List of supported colors](/documentation/configuration/color#list_of_supported_colors)
|
20
|
-
|
@@ -1,20 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: ppl [color "bday"] Configuration Guide
|
3
|
-
layout: configuration
|
4
|
-
section: documentation
|
5
|
-
config_section: color "bday"
|
6
|
-
---
|
7
|
-
|
8
|
-
This section dictates the color of the output of the
|
9
|
-
[bday](/documentation/commands/bday) command.
|
10
|
-
|
11
|
-
### Example
|
12
|
-
|
13
|
-
[color "bday"]
|
14
|
-
id = green
|
15
|
-
birthday = blue
|
16
|
-
|
17
|
-
### See Also
|
18
|
-
|
19
|
-
* [List of supported colors](/documentation/configuration/color#list_of_supported_colors)
|
20
|
-
|
@@ -1,21 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: ppl [color "email"] Configuration Guide
|
3
|
-
layout: configuration
|
4
|
-
section: documentation
|
5
|
-
config_section: color "email"
|
6
|
-
---
|
7
|
-
|
8
|
-
This section dictates the color of the output of the
|
9
|
-
[email](/documentation/commands/email) command.
|
10
|
-
|
11
|
-
### Example
|
12
|
-
|
13
|
-
[color "email"]
|
14
|
-
star = red
|
15
|
-
id = green
|
16
|
-
email_addresses = blue
|
17
|
-
|
18
|
-
### See Also
|
19
|
-
|
20
|
-
* [List of supported colors](/documentation/configuration/color#list_of_supported_colors)
|
21
|
-
|
@@ -1,21 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: ppl [color "ls"] Configuration Guide
|
3
|
-
layout: configuration
|
4
|
-
section: documentation
|
5
|
-
config_section: color "ls"
|
6
|
-
---
|
7
|
-
|
8
|
-
This section dictates the color of the output of the
|
9
|
-
[ls](/documentation/commands/ls) command.
|
10
|
-
|
11
|
-
### Example
|
12
|
-
|
13
|
-
[color "ls"]
|
14
|
-
id = green
|
15
|
-
name = yellow
|
16
|
-
email = blue
|
17
|
-
|
18
|
-
### See Also
|
19
|
-
|
20
|
-
* [List of supported colors](/documentation/configuration/color#list_of_supported_colors)
|
21
|
-
|
@@ -1,20 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: ppl [color "name"] Configuration Guide
|
3
|
-
layout: configuration
|
4
|
-
section: documentation
|
5
|
-
config_section: color "name"
|
6
|
-
---
|
7
|
-
|
8
|
-
This section dictates the color of the output of the
|
9
|
-
[name](/documentation/commands/name) command.
|
10
|
-
|
11
|
-
### Example
|
12
|
-
|
13
|
-
[color "name"]
|
14
|
-
id = green
|
15
|
-
name = blue
|
16
|
-
|
17
|
-
### See Also
|
18
|
-
|
19
|
-
* [List of supported colors](/documentation/configuration/color#list_of_supported_colors)
|
20
|
-
|
@@ -1,20 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: ppl [color "nick"] Configuration Guide
|
3
|
-
layout: configuration
|
4
|
-
section: documentation
|
5
|
-
config_section: color "nick"
|
6
|
-
---
|
7
|
-
|
8
|
-
This section dictates the color of the output of the
|
9
|
-
[nick](/documentation/commands/nick) command.
|
10
|
-
|
11
|
-
### Example
|
12
|
-
|
13
|
-
[color "nick"]
|
14
|
-
id = green
|
15
|
-
nicknames = blue
|
16
|
-
|
17
|
-
### See Also
|
18
|
-
|
19
|
-
* [List of supported colors](/documentation/configuration/color#list_of_supported_colors)
|
20
|
-
|
@@ -1,20 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: ppl [color "org"] Configuration Guide
|
3
|
-
layout: configuration
|
4
|
-
section: documentation
|
5
|
-
config_section: color "org"
|
6
|
-
---
|
7
|
-
|
8
|
-
This section dictates the color of the output of the
|
9
|
-
[org](/documentation/commands/org) command.
|
10
|
-
|
11
|
-
### Example
|
12
|
-
|
13
|
-
[color "org"]
|
14
|
-
id = green
|
15
|
-
organizations = blue
|
16
|
-
|
17
|
-
### See Also
|
18
|
-
|
19
|
-
* [List of supported colors](/documentation/configuration/color#list_of_supported_colors)
|
20
|
-
|
@@ -1,22 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: ppl [color "phone"] Configuration Guide
|
3
|
-
layout: configuration
|
4
|
-
section: documentation
|
5
|
-
config_section: color "phone"
|
6
|
-
---
|
7
|
-
|
8
|
-
This section dictates the color of the output of the
|
9
|
-
[phone](/documentation/commands/phone) command.
|
10
|
-
|
11
|
-
### Example
|
12
|
-
|
13
|
-
[color "phone"]
|
14
|
-
star = red
|
15
|
-
id = green
|
16
|
-
phone_numbers = blue
|
17
|
-
type = red
|
18
|
-
|
19
|
-
### See Also
|
20
|
-
|
21
|
-
* [List of supported colors](/documentation/configuration/color#list_of_supported_colors)
|
22
|
-
|
@@ -1,20 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: ppl [color "post"] Configuration Guide
|
3
|
-
layout: configuration
|
4
|
-
section: documentation
|
5
|
-
config_section: color "post"
|
6
|
-
---
|
7
|
-
|
8
|
-
This section dictates the color of the output of the
|
9
|
-
[post](/documentation/commands/post) command.
|
10
|
-
|
11
|
-
### Example
|
12
|
-
|
13
|
-
[color "post"]
|
14
|
-
id = green
|
15
|
-
postal_address = blue
|
16
|
-
|
17
|
-
### See Also
|
18
|
-
|
19
|
-
* [List of supported colors](/documentation/configuration/color#list_of_supported_colors)
|
20
|
-
|
@@ -1,20 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: ppl [color "url"] Configuration Guide
|
3
|
-
layout: configuration
|
4
|
-
section: documentation
|
5
|
-
config_section: color "url"
|
6
|
-
---
|
7
|
-
|
8
|
-
This section dictates the color of the output of the
|
9
|
-
[url](/documentation/commands/url) command.
|
10
|
-
|
11
|
-
### Example
|
12
|
-
|
13
|
-
[color "url"]
|
14
|
-
id = green
|
15
|
-
urls = blue
|
16
|
-
|
17
|
-
### See Also
|
18
|
-
|
19
|
-
* [List of supported colors](/documentation/configuration/color#list_of_supported_colors)
|
20
|
-
|