]> Sergey Matveev's repositories - public-inbox.git/blob - Documentation/lei.pod
doc: add lei-import(1)
[public-inbox.git] / Documentation / lei.pod
1 =head1 NAME
2
3 lei - local email interface for public-inbox
4
5 =head1 SYNOPSIS
6
7 lei COMMAND
8
9 =head1 DESCRIPTION
10
11 Unlike the C10K-oriented L<public-inbox-daemon(8)>, lei is designed
12 exclusively to handle trusted local clients with read/write access to
13 the file system, using as many system resources as the local user has
14 access to.  lei supports a local, writable store built on top of
15 L<public-inbox-v2-format(5)> and L<public-inbox-extindex(1)>.
16 L<lei-q(1)> provides an interface for querying messages across the lei
17 store and read-only local and remote "externals" (inboxes and external
18 indices).
19
20 Available in public-inbox 1.7.0+.
21
22 =head1 COMMANDS
23
24 Subcommands for initializing and managing local, writable storage:
25
26 =over
27
28 =item * L<lei-init(1)>
29
30 =item * L<lei-import(1)>
31
32 =back
33
34 The following subcommands can be used to manage and inspect external
35 locations:
36
37 =over
38
39 =item * L<lei-add-external(1)>
40
41 =item * L<lei-forget-external(1)>
42
43 =item * L<lei-ls-external(1)>
44
45 =back
46
47 Subcommands related to searching and inspecting messages from the lei
48 store and configured externals are
49
50 =over
51
52 =item * L<lei-q(1)>
53
54 =back
55
56 TODO: Add lei-show (and perhaps others) once implemented.
57
58 Other subcommands include
59
60 =over
61
62 =item * L<lei-config(1)>
63
64 =item * L<lei-daemon-kill(1)>
65
66 =item * L<lei-daemon-pid(1)>
67
68 =back
69
70 =head1 FILES
71
72 By default storage is located at C<$XDG_DATA_HOME/lei/store>.  The
73 configuration for lei resides at C<$XDG_CONFIG_HOME/lei/config>.
74
75 =head1 CONTACT
76
77 Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
78
79 The mail archives are hosted at L<https://public-inbox.org/meta/>
80 and L<http://hjrcffqmbrq6wope.onion/meta/>
81
82 =head1 COPYRIGHT
83
84 Copyright 2021 all contributors L<mailto:meta@public-inbox.org>
85
86 License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>
87
88 =head1 SEE ALSO
89
90 L<lei-overview(7)>