diff options
author | Alex Auvolat <alex@adnab.me> | 2023-10-10 13:57:21 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-10-10 13:57:21 +0200 |
commit | d4932c31ea7d2430749ef5f37b9e47b36c1fafa8 (patch) | |
tree | 4dee7df1689c298a163798b47c524717d2872f7d /src/garage/cli/structs.rs | |
parent | 0c431b0c035f4de8ea9d1d9bd0b419bfc74ceabf (diff) | |
parent | e75fe2157d0973eb4320bbc87be5e54a1cb91a63 (diff) | |
download | garage-d4932c31ea7d2430749ef5f37b9e47b36c1fafa8.tar.gz garage-d4932c31ea7d2430749ef5f37b9e47b36c1fafa8.zip |
Merge branch 'main' into next
Diffstat (limited to 'src/garage/cli/structs.rs')
-rw-r--r-- | src/garage/cli/structs.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/garage/cli/structs.rs b/src/garage/cli/structs.rs index 651df42e..aba57551 100644 --- a/src/garage/cli/structs.rs +++ b/src/garage/cli/structs.rs @@ -3,6 +3,8 @@ use structopt::StructOpt; use garage_util::version::garage_version; +use crate::cli::convert_db; + #[derive(StructOpt, Debug)] pub enum Command { /// Run Garage server @@ -54,6 +56,10 @@ pub enum Command { /// Low-level debug operations on data blocks #[structopt(name = "block", version = garage_version())] Block(BlockOperation), + + /// Convert metadata db between database engine formats + #[structopt(name = "convert-db", version = garage_version())] + ConvertDb(convert_db::ConvertDbOpt), } #[derive(StructOpt, Debug)] |