aboutsummaryrefslogtreecommitdiff
path: root/src/garage/cli/structs.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-10-10 13:57:21 +0200
committerAlex Auvolat <alex@adnab.me>2023-10-10 13:57:21 +0200
commitd4932c31ea7d2430749ef5f37b9e47b36c1fafa8 (patch)
tree4dee7df1689c298a163798b47c524717d2872f7d /src/garage/cli/structs.rs
parent0c431b0c035f4de8ea9d1d9bd0b419bfc74ceabf (diff)
parente75fe2157d0973eb4320bbc87be5e54a1cb91a63 (diff)
downloadgarage-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.rs6
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)]