feat: support custom format, plain sql and cluster dumps

This commit is contained in:
2026-09-07 13:21:45 +00:00
parent 0f16949190
commit 77703485b9
6 changed files with 313 additions and 37 deletions

View File

@@ -19,7 +19,7 @@ fn main() -> Result<()> {
},
cli::Commands::Postgres { command } => match command {
cli::Postgres::Import { path } => scripts::postgres::import(&path),
cli::Postgres::Dump { path } => scripts::postgres::dump(&path),
cli::Postgres::Dump { path, format } => scripts::postgres::dump(&path, format),
},
cli::Commands::Link { command } => match command {
cli::Link::Add { paths, force } => scripts::link::add(&paths, force),