garage/src/garage/cli
Quentin cd5fa90c68
All checks were successful
continuous-integration/drone/push Build is passing
Configure structopt to report the right version
By default, structopt reports the value provided by
the env var CARGO_PKG_VERSION, feeded by Cargo when reading
Cargo.toml. However for Garage we use a versioning based on git,
so we often report a version that is behind the real version.
In this commit, we create garage_util::version::garage() that
reports the right version and configure all structopt subcommands
to call this function instead of using the env var.
2022-08-29 17:54:03 +02:00
..
cmd.rs Add a K2V client library and CLI (#303) 2022-05-18 22:24:09 +02:00
init.rs Add tracing integration with opentelemetry 2022-03-14 10:52:13 +01:00
layout.rs First version of admin API (#298) 2022-05-24 12:16:39 +02:00
mod.rs Improve how node roles are assigned in Garage 2021-11-16 16:05:53 +01:00
structs.rs Configure structopt to report the right version 2022-08-29 17:54:03 +02:00
util.rs Add a K2V client library and CLI (#303) 2022-05-18 22:24:09 +02:00