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

@@ -6,30 +6,23 @@ use clap::Subcommand;
#[derive(Subcommand, Debug)]
pub enum DockerCompose {
/// Build containers.
#[clap(alias("b"))]
Build,
/// Down containers.
#[clap(alias("d"))]
Down,
/// Stop, build and start containers.
#[clap(alias("rb"))]
Rebuild,
/// Stop and start containers.
#[clap(alias("rs"))]
Restart,
/// Start containers.
#[clap(alias("st"))]
Start,
/// Stop containers.
#[clap(alias("s"))]
Stop,
/// Up containers.
#[clap(alias("u"))]
Up,
}