feat: rename commands and remove aliases in favour of completion

BREAKING CHANGE: changed commands as follows
D -> Docker
Dc -> Compose
Dj -> Django
Pg -> Postgres
This commit is contained in:
2023-05-27 13:30:09 +02:00
parent 61e7556997
commit de5e6b4d10
7 changed files with 8 additions and 24 deletions

View File

@@ -5,14 +5,12 @@ 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,