chore(cli): add unimplemented commands
This commit is contained in:
parent
d175bfa8f0
commit
38a18180eb
2 changed files with 7 additions and 1 deletions
|
@ -36,7 +36,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Command::List => {
|
Command::List | Command::Upgrade | Command::Downgrade => {
|
||||||
unimplemented!();
|
unimplemented!();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,6 +19,12 @@ pub(crate) enum Command {
|
||||||
|
|
||||||
#[structopt(name = "list", visible_alias = "ls")]
|
#[structopt(name = "list", visible_alias = "ls")]
|
||||||
List,
|
List,
|
||||||
|
|
||||||
|
#[structopt(name = "upgrade", visible_alias = "up")]
|
||||||
|
Upgrade,
|
||||||
|
|
||||||
|
#[structopt(name = "downgrade", visible_alias = "down")]
|
||||||
|
Downgrade,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, StructOpt)]
|
#[derive(Debug, StructOpt)]
|
||||||
|
|
Reference in a new issue