3 lei-add-external - add inbox or external index
7 lei add-external [OPTIONS] LOCATION
11 Configure lei to search against an external (an inbox or external
12 index). When C<LOCATION> is an existing local path, it should point
13 to a directory that is a C<public.<name>.inboxdir> or
14 C<extindex.<name>.topdir> value in ~/.public-inbox/config.
19 TODO: mention curl options?
25 Set priority of a new or existing location.
31 Create C<LOCATION> by mirroring the public-inbox at C<URL>.
35 Provide more feedback on stderr.
39 Suppress feedback messages.
47 =item --torsocks=auto|no|yes, --no-torsocks
49 Whether to wrap L<git(1)> and L<curl(1)> commands with torsocks.
53 =item --inbox-version=NUM
55 Force a public-inbox version (must be C<1> or C<2>).
59 The following options are passed to L<public-inbox-init(1)>:
63 =item -j JOBS, --jobs=JOBS
65 =item -L LEVEL, --indexlevel=LEVEL
69 The following options are passed to L<public-inbox-index(1)>:
73 =item --batch-size=SIZE
77 =item -j JOBS, --jobs=JOBS
81 =item --sequential-shard
89 The configuration for lei resides at C<$XDG_CONFIG_HOME/lei/config>.
93 Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
95 The mail archives are hosted at L<https://public-inbox.org/meta/>
96 and L<http://hjrcffqmbrq6wope.onion/meta/>
100 Copyright 2021 all contributors L<mailto:meta@public-inbox.org>
102 License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>
106 L<lei-forget-external(1)>, L<lei-ls-external(1)>, L<lei-import(1)>,
107 L<public-inbox-index(1)>, L<public-inbox-extindex(1)>,
108 L<public-inbox-extindex-format(5)>