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,183 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Documentation
|
3
|
-
layout: page
|
4
|
-
section: documentation
|
5
|
-
---
|
6
|
-
|
7
|
-
<h2>Documentation</h2>
|
8
|
-
|
9
|
-
<div class="row">
|
10
|
-
|
11
|
-
<div class="span4">
|
12
|
-
<h3>Quick Start</h3>
|
13
|
-
<div class="well well-large">
|
14
|
-
<p>
|
15
|
-
Trying ppl for the first time?
|
16
|
-
<br />
|
17
|
-
Want to learn the basics?
|
18
|
-
<br />
|
19
|
-
In 30 seconds or less?
|
20
|
-
</p>
|
21
|
-
|
22
|
-
<p>
|
23
|
-
<a class="btn btn-primary" href="{{site.url}}/documentation/quick-start">
|
24
|
-
Get Started
|
25
|
-
</a>
|
26
|
-
</p>
|
27
|
-
|
28
|
-
</div>
|
29
|
-
</div>
|
30
|
-
|
31
|
-
<div class="span8">
|
32
|
-
<h3>Command Reference</h3>
|
33
|
-
|
34
|
-
<div class="row">
|
35
|
-
|
36
|
-
<div class="span2">
|
37
|
-
<ul class="nav nav-pills nav-stacked">
|
38
|
-
<li><a href="{{site.url}}/documentation/commands/age">age</a></li>
|
39
|
-
<li><a href="{{site.url}}/documentation/commands/add">add</a></li>
|
40
|
-
<li><a href="{{site.url}}/documentation/commands/bday">bday</a></li>
|
41
|
-
<li><a href="{{site.url}}/documentation/commands/completion">completion</a></li>
|
42
|
-
<li><a href="{{site.url}}/documentation/commands/email">email</a></li>
|
43
|
-
<li><a href="{{site.url}}/documentation/commands/grep">grep</a></li>
|
44
|
-
</ul>
|
45
|
-
</div>
|
46
|
-
|
47
|
-
<div class="span2">
|
48
|
-
<ul class="nav nav-pills nav-stacked">
|
49
|
-
<li><a href="{{site.url}}/documentation/commands/init">init</a></li>
|
50
|
-
<li><a href="{{site.url}}/documentation/commands/ls">ls</a></li>
|
51
|
-
<li><a href="{{site.url}}/documentation/commands/mutt">mutt</a></li>
|
52
|
-
<li><a href="{{site.url}}/documentation/commands/mv">mv</a></li>
|
53
|
-
<li><a href="{{site.url}}/documentation/commands/name">name</a></li>
|
54
|
-
<li><a href="{{site.url}}/documentation/commands/nick">nick</a></li>
|
55
|
-
</ul>
|
56
|
-
</div>
|
57
|
-
|
58
|
-
<div class="span2">
|
59
|
-
<ul class="nav nav-pills nav-stacked">
|
60
|
-
<li><a href="{{site.url}}/documentation/commands/org">org</a></li>
|
61
|
-
<li><a href="{{site.url}}/documentation/commands/phone">phone</a></li>
|
62
|
-
<li><a href="{{site.url}}/documentation/commands/post">post</a></li>
|
63
|
-
<li><a href="{{site.url}}/documentation/commands/pull">pull</a></li>
|
64
|
-
<li><a href="{{site.url}}/documentation/commands/push">push</a></li>
|
65
|
-
<li><a href="{{site.url}}/documentation/commands/remote">remote</a></li>
|
66
|
-
</ul>
|
67
|
-
</div>
|
68
|
-
|
69
|
-
<div class="span2">
|
70
|
-
<ul class="nav nav-pills nav-stacked">
|
71
|
-
<li><a href="{{site.url}}/documentation/commands/rm">rm</a></li>
|
72
|
-
<li><a href="{{site.url}}/documentation/commands/scrape">scrape</a></li>
|
73
|
-
<li><a href="{{site.url}}/documentation/commands/shell">shell</a></li>
|
74
|
-
<li><a href="{{site.url}}/documentation/commands/show">show</a></li>
|
75
|
-
<li><a href="{{site.url}}/documentation/commands/url">url</a></li>
|
76
|
-
<li><a href="{{site.url}}/documentation/commands/version">version</a></li>
|
77
|
-
</ul>
|
78
|
-
</div>
|
79
|
-
|
80
|
-
</div>
|
81
|
-
|
82
|
-
</div>
|
83
|
-
|
84
|
-
</div>
|
85
|
-
|
86
|
-
|
87
|
-
<div class="row">
|
88
|
-
|
89
|
-
<div class="span4">
|
90
|
-
<h3>Tips & Tricks</h3>
|
91
|
-
<p>
|
92
|
-
Small bits of advice for getting the most out of ppl.
|
93
|
-
<br />
|
94
|
-
<a href="{{site.url}}/documentation/tips">Sound interesting?</a>
|
95
|
-
</p>
|
96
|
-
</div>
|
97
|
-
|
98
|
-
<div class="span8">
|
99
|
-
<h3>Integration Guide</h3>
|
100
|
-
<div class="row">
|
101
|
-
|
102
|
-
<div class="span2">
|
103
|
-
<ul class="nav nav-pills nav-stacked">
|
104
|
-
<li><a href="{{site.url}}/documentation/integration/bash">Bash</a></li>
|
105
|
-
</ul>
|
106
|
-
</div>
|
107
|
-
|
108
|
-
<div class="span2">
|
109
|
-
<ul class="nav nav-pills nav-stacked">
|
110
|
-
<li><a href="{{site.url}}/documentation/integration/google">Google</a></li>
|
111
|
-
</ul>
|
112
|
-
</div>
|
113
|
-
|
114
|
-
<div class="span2">
|
115
|
-
<ul class="nav nav-pills nav-stacked">
|
116
|
-
<li><a href="{{site.url}}/documentation/integration/mutt">Mutt</a></li>
|
117
|
-
</ul>
|
118
|
-
</div>
|
119
|
-
|
120
|
-
<div class="span2">
|
121
|
-
<ul class="nav nav-pills nav-stacked">
|
122
|
-
<li><a href="{{site.url}}/documentation/integration/zsh">ZSH</a></li>
|
123
|
-
</ul>
|
124
|
-
</div>
|
125
|
-
|
126
|
-
</div>
|
127
|
-
</div>
|
128
|
-
|
129
|
-
</div>
|
130
|
-
|
131
|
-
<div class="row">
|
132
|
-
|
133
|
-
<div class="span4">
|
134
|
-
<h3>About ppl</h3>
|
135
|
-
<p>
|
136
|
-
Wondering why ppl even exists? Whose idea it was?
|
137
|
-
<br />
|
138
|
-
<a href="{{site.url}}/documentation/about">Look no further</a>
|
139
|
-
</p>
|
140
|
-
</div>
|
141
|
-
|
142
|
-
<div class="span8">
|
143
|
-
<h3>Configuration Guide</h3>
|
144
|
-
<div class="row">
|
145
|
-
|
146
|
-
<div class="span2">
|
147
|
-
<ul class="nav nav-pills nav-stacked">
|
148
|
-
<li><a href="{{site.url}}/documentation/configuration/address_book">[address book]</a></li>
|
149
|
-
<li><a href="{{site.url}}/documentation/configuration/alias">[alias]</a></li>
|
150
|
-
<li><a href="{{site.url}}/documentation/configuration/color">[color]</a></li>
|
151
|
-
<li><a href="{{site.url}}/documentation/configuration/color_age">[color "age"]</a></li>
|
152
|
-
</ul>
|
153
|
-
</div>
|
154
|
-
|
155
|
-
<div class="span2">
|
156
|
-
<ul class="nav nav-pills nav-stacked">
|
157
|
-
<li><a href="{{site.url}}/documentation/configuration/color_bday">[color "bday"]</a></li>
|
158
|
-
<li><a href="{{site.url}}/documentation/configuration/color_email">[color "email"]</a></li>
|
159
|
-
<li><a href="{{site.url}}/documentation/configuration/color_ls">[color "ls"]</a></li>
|
160
|
-
<li><a href="{{site.url}}/documentation/configuration/color_name">[color "name"]</a></li>
|
161
|
-
</ul>
|
162
|
-
</div>
|
163
|
-
|
164
|
-
<div class="span2">
|
165
|
-
<ul class="nav nav-pills nav-stacked">
|
166
|
-
<li><a href="{{site.url}}/documentation/configuration/color_nick">[color "nick"]</a></li>
|
167
|
-
<li><a href="{{site.url}}/documentation/configuration/color_org">[color "org"]</a></li>
|
168
|
-
<li><a href="{{site.url}}/documentation/configuration/color_phone">[color "phone"]</a></li>
|
169
|
-
<li><a href="{{site.url}}/documentation/configuration/color_post">[color "post"]</a></li>
|
170
|
-
</ul>
|
171
|
-
</div>
|
172
|
-
|
173
|
-
<div class="span2">
|
174
|
-
<ul class="nav nav-pills nav-stacked">
|
175
|
-
<li><a href="{{site.url}}/documentation/configuration/color_url">[color "url"]</a></li>
|
176
|
-
</ul>
|
177
|
-
</div>
|
178
|
-
|
179
|
-
</div>
|
180
|
-
</div>
|
181
|
-
|
182
|
-
</div>
|
183
|
-
|
@@ -1,23 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Bash Integration Guide
|
3
|
-
layout: integration
|
4
|
-
section: documentation
|
5
|
-
integration: bash
|
6
|
-
---
|
7
|
-
|
8
|
-
If you've ever used a command-line program like Git, you've probably used tab
|
9
|
-
completion before. For example, you type `git chec`, press the `<Tab>` key, and
|
10
|
-
bash automatically completes the rest of the command for you: `git checkout`.
|
11
|
-
Bash accomplishes this through the use of a [completion
|
12
|
-
function](http://tldp.org/LDP/abs/html/tabexpansion.html), and the good news is
|
13
|
-
that there's one available for ppl.
|
14
|
-
|
15
|
-
### Install the completion function globally
|
16
|
-
|
17
|
-
$ ppl completion bash | sudo tee /etc/bash_completion.d/ppl
|
18
|
-
|
19
|
-
The [completion](/documentation/commands/completion) command simply outputs the
|
20
|
-
completion function code in its entirety. The above line pipes that code into
|
21
|
-
its rightful place in your system's Bash completion function config directory.
|
22
|
-
|
23
|
-
|
@@ -1,26 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Google Integration Guide
|
3
|
-
layout: integration
|
4
|
-
section: documentation
|
5
|
-
integration: google
|
6
|
-
---
|
7
|
-
|
8
|
-
Many people have a large set of address book data stored in Google Contacts,
|
9
|
-
usually under the hood of GMail itself. If you fall in this category, and you
|
10
|
-
want to copy over that data as a starting point for your ppl address book, you
|
11
|
-
have a few options thanks to the enterprising work of some generous ppl users.
|
12
|
-
|
13
|
-
### gv-contacts
|
14
|
-
|
15
|
-
Part of an npm package called [gv](https://github.com/matthewp/gv-app/), the `gv
|
16
|
-
contacts` command is a way of importing contacts directly from your Google
|
17
|
-
account into ppl. It imports contacts' names, phone numbers and email addresses.
|
18
|
-
|
19
|
-
### goog2ppl
|
20
|
-
|
21
|
-
[goog2ppl](https://github.com/shushcat/goog2ppl) is a python script for
|
22
|
-
converting a contacts.vcf file [exported from
|
23
|
-
Google](http://support.google.com/mail/answer/24911?hl=en) and breaking it up
|
24
|
-
into pieces suitable for initialization as the contents of a ppl address book
|
25
|
-
directory.
|
26
|
-
|
@@ -1,35 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Mutt Integration Guide
|
3
|
-
layout: integration
|
4
|
-
section: documentation
|
5
|
-
integration: mutt
|
6
|
-
---
|
7
|
-
|
8
|
-
The [Mutt E-Mail Client](http://www.mutt.org/)
|
9
|
-
|
10
|
-
### Email Address Autocompletion
|
11
|
-
|
12
|
-
Mutt supports the use of external address book programs as a source of [email
|
13
|
-
address autocompletion
|
14
|
-
suggestions](http://www.mutt.org/doc/manual/manual-4.html#ss4.5). You can use
|
15
|
-
this to integrate ppl into mutt by adding the following to your `~/.muttrc`:
|
16
|
-
|
17
|
-
set query_command = "ppl mutt '%s'"
|
18
|
-
|
19
|
-
With that configured, you can then invoke ppl from within mutt as a means of
|
20
|
-
quickly finding email addresses by pressing `Q` in the index menu, or by
|
21
|
-
pressing `^T` in any prompt for address entry.
|
22
|
-
|
23
|
-
### Quickly Adding New Contacts
|
24
|
-
|
25
|
-
If you have a lot of email to deal with, you may find it tedious to have to add
|
26
|
-
each new email contact to your address book manually. With a macro like the
|
27
|
-
following in your `~/.muttrc`, adding the sender of the currently selected email
|
28
|
-
is as simple as pressing the `a` key.
|
29
|
-
|
30
|
-
macro index,pager a "<pipe-message>ppl scrape --sender<return>"
|
31
|
-
|
32
|
-
This macro uses the [scrape](/documentation/commands/scrape) command to pull out
|
33
|
-
the sender's email address and name (if available), and adds them to the address
|
34
|
-
book.
|
35
|
-
|
@@ -1,19 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: ZSH Integration Guide
|
3
|
-
layout: integration
|
4
|
-
section: documentation
|
5
|
-
integration: zsh
|
6
|
-
---
|
7
|
-
|
8
|
-
Similarly to the [Bash completion](/documentation/integration/bash/)
|
9
|
-
functionality also available, ppl comes ready with a ZSH completion function as
|
10
|
-
well. Here's how to get it set up:
|
11
|
-
|
12
|
-
### Install the completion function
|
13
|
-
|
14
|
-
$ ppl completion zsh | sudo tee /usr/share/zsh/site-functions/_ppl
|
15
|
-
|
16
|
-
Depending on your choice of operating system, the target directory in the above
|
17
|
-
code may differ. The above is certainly correct for Arch Linux, but on Debian,
|
18
|
-
for example, the target would be `/usr/local/share/zsh/site-functions/`.
|
19
|
-
|
@@ -1,88 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: ppl Quick Start
|
3
|
-
layout: page
|
4
|
-
section: documentation
|
5
|
-
---
|
6
|
-
|
7
|
-
<h2>Quick Start</h2>
|
8
|
-
|
9
|
-
<div class="row">
|
10
|
-
<div class="span8">
|
11
|
-
<h3>Requirements</h3>
|
12
|
-
<p>
|
13
|
-
ppl depends on <a href="http://rubygems.org/">rubygems</a> for
|
14
|
-
installation, and on <a href="http://git-scm.com/">git</a> for storage and
|
15
|
-
syncing.
|
16
|
-
</p>
|
17
|
-
</div>
|
18
|
-
</div>
|
19
|
-
|
20
|
-
<div class="row">
|
21
|
-
<div class="span8">
|
22
|
-
<h3>Installation</h3>
|
23
|
-
<pre><code>$ sudo gem install ppl</code></pre>
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
|
27
|
-
<div class="row">
|
28
|
-
<div class="span8">
|
29
|
-
<h3>Create An Address Book</h3>
|
30
|
-
<pre><code>$ ppl init ~/contacts</code></pre>
|
31
|
-
</div>
|
32
|
-
<div class="span4">
|
33
|
-
<h3> </h3>
|
34
|
-
<p>
|
35
|
-
<a href="{{site.url}}/documentation/commands/init">ppl init</a> is just
|
36
|
-
like creating a Git repo
|
37
|
-
</p>
|
38
|
-
</div>
|
39
|
-
</div>
|
40
|
-
|
41
|
-
<div class="row">
|
42
|
-
<div class="span8">
|
43
|
-
<h3>Add Some Contacts</h3>
|
44
|
-
<pre><code>$ cd ~/contacts
|
45
|
-
$ ppl add alice "Alice Adams"
|
46
|
-
$ ppl add bob "Bob Brown"
|
47
|
-
$ ppl add eve "Eve Edwards"</code></pre>
|
48
|
-
</div>
|
49
|
-
<div class="span4">
|
50
|
-
<h3> </h3>
|
51
|
-
<p>
|
52
|
-
<a href="{{site.url}}/documentation/commands/add">ppl add</a> creates new
|
53
|
-
contacts in the address book
|
54
|
-
</p>
|
55
|
-
</div>
|
56
|
-
</div>
|
57
|
-
|
58
|
-
<div class="row">
|
59
|
-
<div class="span8">
|
60
|
-
<h3>Store Some Contact Details</h3>
|
61
|
-
<pre><code>$ ppl email alice alice@example.org
|
62
|
-
$ ppl phone bob 0123456789
|
63
|
-
$ ppl org eve "Red Hat"</code></pre>
|
64
|
-
</div>
|
65
|
-
<div class="span4">
|
66
|
-
<h3> </h3>
|
67
|
-
<p>
|
68
|
-
ppl has many commands for adding new properties to contacts. Further
|
69
|
-
information is available in the <a href="{{site.url}}/documentation">documentation</a>
|
70
|
-
</p>
|
71
|
-
</div>
|
72
|
-
</div>
|
73
|
-
|
74
|
-
<div class="row">
|
75
|
-
<div class="span8">
|
76
|
-
<h3>Set Your Default Address Book</h3>
|
77
|
-
<pre><code>$ echo "[address book]" > ~/.pplconfig
|
78
|
-
$ echo path = "`pwd`" >> ~/.pplconfig</code></pre>
|
79
|
-
</div>
|
80
|
-
<div class="span4">
|
81
|
-
<h3> </h3>
|
82
|
-
<p>
|
83
|
-
This tells ppl to let you keep working with this address book even after
|
84
|
-
you <code>cd</code> into another directory
|
85
|
-
</p>
|
86
|
-
</div>
|
87
|
-
</div>
|
88
|
-
|
data/gh-pages/index.html
DELETED
@@ -1,108 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: ppl - The Command Line Address Book
|
3
|
-
layout: frontpage
|
4
|
-
---
|
5
|
-
|
6
|
-
|
7
|
-
<div class="front-page">
|
8
|
-
|
9
|
-
<div class="row welcome">
|
10
|
-
|
11
|
-
<div class="span4">
|
12
|
-
|
13
|
-
<h1 class="big-welcome">
|
14
|
-
ppl
|
15
|
-
</h1>
|
16
|
-
|
17
|
-
<p class="little-welcome">
|
18
|
-
The command line address book
|
19
|
-
</p>
|
20
|
-
<p class="little-welcome">
|
21
|
-
<a href="{{site.url}}/documentation/quick-start">
|
22
|
-
Try it!
|
23
|
-
</a>
|
24
|
-
</p>
|
25
|
-
|
26
|
-
</div>
|
27
|
-
|
28
|
-
<div class="span8">
|
29
|
-
<pre class="welcome-example"><code><span class="bash-prompt">$</span> ppl add henry "Henry Smith"
|
30
|
-
<span class="bash-prompt">$</span> ppl phone henry 012345678
|
31
|
-
<span class="bash-prompt">$</span> ppl email henry henry@henrysmith.org
|
32
|
-
<span class="bash-prompt">$</span> ppl show henry
|
33
|
-
Henry Smith <henry@henrysmith.org>
|
34
|
-
|
35
|
-
Email Addresses:
|
36
|
-
henry@henrysmith.org
|
37
|
-
|
38
|
-
Phone Numbers:
|
39
|
-
0123456789
|
40
|
-
</code></pre>
|
41
|
-
</div>
|
42
|
-
|
43
|
-
</div>
|
44
|
-
|
45
|
-
<div class="row what">
|
46
|
-
|
47
|
-
<div class="span4">
|
48
|
-
<h2>Free</h2>
|
49
|
-
<p>
|
50
|
-
ppl is free software made out of other free software. It's built on top
|
51
|
-
of Ruby and Git, and the completely free vcard address book format.
|
52
|
-
</p>
|
53
|
-
</div>
|
54
|
-
|
55
|
-
<div class="span4">
|
56
|
-
<h2>Decentralized</h2>
|
57
|
-
<p>
|
58
|
-
ppl is built on top of Git, the world's most popular decentralized
|
59
|
-
version control system. Use your address book wherever you like and let
|
60
|
-
Git worry about making sense of it all.
|
61
|
-
</p>
|
62
|
-
</div>
|
63
|
-
|
64
|
-
<div class="span4">
|
65
|
-
<h2>Good</h2>
|
66
|
-
<p>
|
67
|
-
ppl does its best to be a proper UNIX-style comand line program. Proper
|
68
|
-
exit codes, no superfluous output, that sort of thing.
|
69
|
-
</p>
|
70
|
-
</div>
|
71
|
-
|
72
|
-
</div>
|
73
|
-
|
74
|
-
<div class="row latest">
|
75
|
-
|
76
|
-
<div class="span4">
|
77
|
-
<h3>Latest Version</h3>
|
78
|
-
<div class="well">
|
79
|
-
<h2>
|
80
|
-
{{site.categories.changelog.first.title}}
|
81
|
-
<small>
|
82
|
-
({{ site.categories.changelog.first.date | date: '%Y-%m-%d' }})
|
83
|
-
</small>
|
84
|
-
</h2>
|
85
|
-
<p>
|
86
|
-
<a href="{{site.url}}{{site.categories.changelog.first.permalink}}">
|
87
|
-
{{site.categories.changelog.first.summary}}
|
88
|
-
</a>
|
89
|
-
</p>
|
90
|
-
</div>
|
91
|
-
</div>
|
92
|
-
|
93
|
-
<div class="span8">
|
94
|
-
<h3>
|
95
|
-
{{site.categories.news.first.title}}
|
96
|
-
<small>
|
97
|
-
<a href="{{site.url}}{{site.categories.news.first.url}}">
|
98
|
-
{{site.categories.news.first.date | date: '%Y-%m-%d'}}
|
99
|
-
</a>
|
100
|
-
</small>
|
101
|
-
</h3>
|
102
|
-
{{site.categories.news.first.content}}
|
103
|
-
</div>
|
104
|
-
|
105
|
-
</div>
|
106
|
-
|
107
|
-
</div>
|
108
|
-
|
data/gh-pages/news/index.html
DELETED
data/gh-pages/robots.txt
DELETED