]> Sergey Matveev's repositories - public-inbox.git/blob - Documentation/lei.pod
treewide: update to v3 Tor onions
[public-inbox.git] / Documentation / lei.pod
1 =head1 NAME
2
3 lei - local email interface
4
5 =head1 SYNOPSIS
6
7 lei [OPTIONS] COMMAND
8
9 =head1 DESCRIPTION
10
11 lei is a command-line tool for importing and searching email,
12 regardless of whether it is from a personal mailbox or a public-inbox.
13 lei supports a local, writable store built on top of
14 L<public-inbox-v2-format(5)> and L<public-inbox-extindex(1)>.
15 L<lei-q(1)> provides an interface for querying messages across the lei
16 store and read-only local and remote "externals" (inboxes and external
17 indices).
18
19 Warning: lei is still in its early stages and may destroy mail.
20 Be sure to have backups of destinations lei writes to.
21
22 Available in public-inbox 1.7.0+.
23
24 =head1 OPTIONS
25
26 =over
27
28 =item -c NAME=VALUE
29
30 Override configuration C<NAME> to C<VALUE>.
31
32 =item -C DIR
33
34 Change current working directory to the specified directory before
35 running the command.  This option can be given before or after
36 C<COMMAND> and is accepted by all lei subcommands except
37 L<lei-daemon-kill(1)>.
38
39 =back
40
41 =head1 COMMANDS
42
43 Subcommands for initializing and managing local, writable storage:
44
45 =over
46
47 =item * L<lei-init(1)>
48
49 =item * L<lei-import(1)>
50
51 =item * L<lei-tag(1)>
52
53 =back
54
55 The following subcommands can be used to manage and inspect external
56 locations:
57
58 =over
59
60 =item * L<lei-add-external(1)>
61
62 =item * L<lei-forget-external(1)>
63
64 =item * L<lei-ls-external(1)>
65
66 =back
67
68 Subcommands related to searching and inspecting messages from the lei
69 store and configured externals are
70
71 =over
72
73 =item * L<lei-blob(1)>
74
75 =item * L<lei-p2q(1)>
76
77 =item * L<lei-q(1)>
78
79 =back
80
81 Other subcommands include
82
83 =over
84
85 =item * L<lei-config(1)>
86
87 =item * L<lei-daemon-kill(1)>
88
89 =item * L<lei-daemon-pid(1)>
90
91 =item * L<lei-ls-label(1)>
92
93 =back
94
95 =head1 FILES
96
97 By default storage is located at C<$XDG_DATA_HOME/lei/store>.  The
98 configuration for lei resides at C<$XDG_CONFIG_HOME/lei/config>.
99
100 =head1 CONTACT
101
102 Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
103
104 The mail archives are hosted at L<https://public-inbox.org/meta/> and
105 L<http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>
106
107 =head1 COPYRIGHT
108
109 Copyright 2021 all contributors L<mailto:meta@public-inbox.org>
110
111 License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>
112
113 =head1 SEE ALSO
114
115 L<lei-overview(7)>