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 }, }