13 lines
232 B
Rust
13 lines
232 B
Rust
use std::path::PathBuf;
|
|
|
|
use clap::Subcommand;
|
|
|
|
#[derive(Subcommand, Debug)]
|
|
pub enum Postgres {
|
|
/// Import dump via pg_restore
|
|
Import { path: PathBuf },
|
|
|
|
/// Dump via pg_dump with format=c
|
|
Dump { path: PathBuf },
|
|
}
|