MeiliSearch/meilisearch-lib/src
bors[bot] f9f075bca2
Merge #2068
2068: chore(http): migrate from structopt to clap3 r=Kerollmops a=MarinPostma

migrate from structopt to clap3

This fix the long lasting issue with flags require a value, such as `--no-analytics` or `--schedule-snapshot`.

All flag arguments now take NO argument, i.e:
`meilisearch --schedule-snapshot true` becomes `meilisearch --schedule-snapshot`

as per https://docs.rs/clap/latest/clap/struct.Arg.html#method.env, the env variable is defines as:
> A false literal is n, no, f, false, off or 0. An absent environment variable will also be considered as false. Anything else will considered as true.

`@gmourier` 
`@curquiza` 
`@meilisearch/docs-team` 

Co-authored-by: mpostma <postma.marin@protonmail.com>
2022-01-20 10:59:44 +00:00
..
index fix no-analytics 2022-01-20 11:50:24 +01:00
index_controller fix(dump): Fix the import of dumps when there is no data.ms 2022-01-13 12:30:58 +01:00
index_resolver Merge #2065 2022-01-11 16:30:22 +00:00
tasks Merge #2065 2022-01-11 16:30:22 +00:00
analytics.rs rename user-id to instance-uid 2021-10-29 17:25:52 +02:00
compression.rs implement new dump v2 2021-09-30 14:49:13 +02:00
document_formats.rs feat(auth): API keys 2021-12-06 09:52:41 +01:00
error.rs feat(auth): API keys 2021-12-06 09:52:41 +01:00
lib.rs feat(all): Task store 2021-12-02 20:14:42 +01:00
options.rs chore(http): migrate from structopt to clap3 2022-01-12 14:07:19 +01:00
snapshot.rs feat(auth): Extend API keys 2021-12-14 17:33:39 +01:00
update_file_store.rs feat(all): Task store 2021-12-02 20:14:42 +01:00