X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=Documentation%2Flei.pod;h=f01f506af359c1a476dc9ad01f6208389e847a70;hb=0ae89efce11e1e3b10a067c61c5b4cde30fa2b3b;hp=9ce9e9a4dc6cde8149cfbef5bcf530325958c59e;hpb=389767f3b7eccc58859d7eade9ee2ba26b28f20d;p=public-inbox.git diff --git a/Documentation/lei.pod b/Documentation/lei.pod index 9ce9e9a4..f01f506a 100644 --- a/Documentation/lei.pod +++ b/Documentation/lei.pod @@ -1,24 +1,43 @@ =head1 NAME -lei - local email interface for public-inbox +lei - local email interface =head1 SYNOPSIS -lei COMMAND +lei [OPTIONS] COMMAND =head1 DESCRIPTION -Unlike the C10K-oriented L, lei is designed -exclusively to handle trusted local clients with read/write access to -the file system, using as many system resources as the local user has -access to. lei supports a local, writable store built on top of +lei is a command-line tool for importing and searching email, +regardless of whether it is from a personal mailbox or a public-inbox. +lei supports a local, writable store built on top of L and L. L provides an interface for querying messages across the lei store and read-only local and remote "externals" (inboxes and external indices). +Warning: lei is still in its early stages and may destroy mail. +Be sure to have backups of destinations lei writes to. + Available in public-inbox 1.7.0+. +=head1 OPTIONS + +=over + +=item -c NAME=VALUE + +Override configuration C to C. + +=item -C DIR + +Change current working directory to the specified directory before +running the command. This option can be given before or after +C and is accepted by all lei subcommands except +L. + +=back + =head1 COMMANDS Subcommands for initializing and managing local, writable storage: @@ -29,6 +48,8 @@ Subcommands for initializing and managing local, writable storage: =item * L +=item * L + =back The following subcommands can be used to manage and inspect external @@ -49,22 +70,58 @@ store and configured externals are =over +=item * L + +=item * L + +=item * L + +=item * L + +=item * L + +=item * L + +=item * L + =item * L -=back +=item * L -TODO: Add lei-show (and perhaps others) once implemented. +=item * L + +=back Other subcommands include =over +=item * L + =item * L +=item * L + =item * L =item * L +=item * L + +=item * L + +=item * L + +=item * L + +=item * L + +=item * L + +=item * L + +=item * L + =back =head1 FILES @@ -72,19 +129,26 @@ Other subcommands include By default storage is located at C<$XDG_DATA_HOME/lei/store>. The configuration for lei resides at C<$XDG_CONFIG_HOME/lei/config>. +=head1 ERRORS + +Errors and dianostics for interactive commands are reported to +stderr. Some errors for background tasks are emitted via +L as L for the top-level daemon, +and C for the L worker. + =head1 CONTACT Feedback welcome via plain-text mail to L -The mail archives are hosted at L -and L +The mail archives are hosted at L and +L =head1 COPYRIGHT -Copyright 2021 all contributors L +Copyright all contributors L License: AGPL-3.0+ L =head1 SEE ALSO -L +L, L