]> Sergey Matveev's repositories - public-inbox.git/blob - Documentation/lei.pod
doc lei: add manpages for new commands
[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 [OPTIONS] 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 OPTIONS
23
24 =over
25
26 =item -c NAME=VALUE
27
28 Override configuration C<NAME> to C<VALUE>.
29
30 =item -C DIR
31
32 Change current working directory to the specified directory before
33 running the command.  This option can be given before or after
34 C<COMMAND> and is accepted by all lei subcommands except
35 L<lei-daemon-kill(1)>.
36
37 =back
38
39 =head1 COMMANDS
40
41 Subcommands for initializing and managing local, writable storage:
42
43 =over
44
45 =item * L<lei-init(1)>
46
47 =item * L<lei-import(1)>
48
49 =item * L<lei-mark(1)>
50
51 =back
52
53 The following subcommands can be used to manage and inspect external
54 locations:
55
56 =over
57
58 =item * L<lei-add-external(1)>
59
60 =item * L<lei-forget-external(1)>
61
62 =item * L<lei-ls-external(1)>
63
64 =back
65
66 Subcommands related to searching and inspecting messages from the lei
67 store and configured externals are
68
69 =over
70
71 =item * L<lei-blob(1)>
72
73 =item * L<lei-p2q(1)>
74
75 =item * L<lei-q(1)>
76
77 =back
78
79 Other subcommands include
80
81 =over
82
83 =item * L<lei-config(1)>
84
85 =item * L<lei-daemon-kill(1)>
86
87 =item * L<lei-daemon-pid(1)>
88
89 =item * L<lei-ls-label(1)>
90
91 =back
92
93 =head1 FILES
94
95 By default storage is located at C<$XDG_DATA_HOME/lei/store>.  The
96 configuration for lei resides at C<$XDG_CONFIG_HOME/lei/config>.
97
98 =head1 CONTACT
99
100 Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
101
102 The mail archives are hosted at L<https://public-inbox.org/meta/>
103 and L<http://hjrcffqmbrq6wope.onion/meta/>
104
105 =head1 COPYRIGHT
106
107 Copyright 2021 all contributors L<mailto:meta@public-inbox.org>
108
109 License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>
110
111 =head1 SEE ALSO
112
113 L<lei-overview(7)>