mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-06-19 19:02:56 +02:00
f9f075bca2
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> |
||
---|---|---|
.. | ||
index | ||
index_controller | ||
index_resolver | ||
tasks | ||
analytics.rs | ||
compression.rs | ||
document_formats.rs | ||
error.rs | ||
lib.rs | ||
options.rs | ||
snapshot.rs | ||
update_file_store.rs |