Archived
1
0
Fork 0

chore(cli): add unimplemented commands

This commit is contained in:
Dmitriy Pleshevskiy 2021-02-02 00:55:41 +03:00
parent d175bfa8f0
commit 38a18180eb
2 changed files with 7 additions and 1 deletions

View file

@ -36,7 +36,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
}
}
}
Command::List => {
Command::List | Command::Upgrade | Command::Downgrade => {
unimplemented!();
}
}

View file

@ -19,6 +19,12 @@ pub(crate) enum Command {
#[structopt(name = "list", visible_alias = "ls")]
List,
#[structopt(name = "upgrade", visible_alias = "up")]
Upgrade,
#[structopt(name = "downgrade", visible_alias = "down")]
Downgrade,
}
#[derive(Debug, StructOpt)]