X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=edwardng;h=a86e32843adf83b57a4600199fac03efd725076f;hb=d03d611f3dd49549200b266ff84b70bd7a69ba4f;hp=a300792eeec5e3883abd8465f4257191737d251f;hpb=1f08c3525c33b88f5b67e84b573f695ec2d4643e;p=app-edwardng.git
diff --git a/edwardng b/edwardng
index a300792..a86e328 100755
--- a/edwardng
+++ b/edwardng
@@ -14,14 +14,19 @@ edwardng - GnuPG email sign/encrypt testing bot
=head1 SYNOPSIS
-edwardng --
+Manually:
+ edwardng --from=edwardng@example.org --key=12345678 < mail.eml
+
+In F:
+
+ edwardng: |/path/to/edwardng --from=edwardng@example.org --key=12345678 --keydir=/srv/edwardng-keydir --debug --logfile=/var/log/edwardng
=head1 DESCRIPTION
EdwardNG is a reimplementation of the Edward reply bot referenced in L.
-It takes mail messages, checks them for PGP signatures and encryption, then replies appropriately.
+It reads an email from STDIN, checks it for PGP signatures and encryption, then replies appropriately.
=head1 OPTIONS
@@ -47,10 +52,18 @@ ID of key used for encrypting replies.
Path to GnuPG homedir.
+=item B<--logfile>=I
+
+If B<--debug>, append debug information to this file. Ignored if B<--no-debug>.
+
=item B<--passphrase>=I
Private key passphrase.
+=item B<--tmpl-path>=I
+
+Path to the template directory. Users of the default templates can select the language with this argument. Available languages: en. Defaults to B<--tmpl-path=en>.
+
=item B<--use-agent>, B<--no-use-agent>
If B<--use-agent>, use L. Defaults to B<--no-gpg-agent>.
@@ -83,10 +96,18 @@ Corresponds to B<--key>.
Corresponds to B<--keydir>.
+=item EDWARDNG_LOGFILE
+
+Corresponds to B<--logfile>.
+
=item EDWARDNG_PASSPHRASE
Corresponds to B<--passphrase>.
+=item EDWARDNG_TMPL_PATH
+
+Corresponds to B<--tmpl-path>.
+
=item EDWARDNG_USE_AGENT
Corresponds to B<--use-agent> (if true) and B<--no-use-agent> (if false).