feat: prepare initial cli layout

Made initial command scopes
d -> docker related commands
dc -> docker compose related commands
dj -> django related commands
pg -> postgres related commands
This commit is contained in:
2023-05-21 22:35:12 +02:00
parent f6e9c7953a
commit eb232a93f8
12 changed files with 220 additions and 0 deletions

18
src/cli/postgres.rs Normal file
View File

@@ -0,0 +1,18 @@
use std::path::PathBuf;
use clap::Subcommand;
#[derive(Subcommand, Debug)]
pub enum Postgres {
/// Import dump via pg_restore
Import {
#[arg(value_enum)]
path: PathBuf,
},
/// Dump via pg_dump with format=c
Dump {
#[arg(value_enum)]
path: PathBuf,
},
}