feat: finish django cli and add aliases
Implemented basic wanted functionality for django subcommands. Added single or two letter aliases for all subsubcommands.
This commit is contained in:
@@ -5,12 +5,14 @@ use clap::Subcommand;
|
||||
#[derive(Subcommand, Debug)]
|
||||
pub enum Postgres {
|
||||
/// Import dump via pg_restore
|
||||
#[clap(alias("i"))]
|
||||
Import {
|
||||
#[arg(value_enum)]
|
||||
path: PathBuf,
|
||||
},
|
||||
|
||||
/// Dump via pg_dump with format=c
|
||||
#[clap(alias("d"))]
|
||||
Dump {
|
||||
#[arg(value_enum)]
|
||||
path: PathBuf,
|
||||
|
||||
Reference in New Issue
Block a user