diff --git a/migra-cli/src/main.rs b/migra-cli/src/main.rs index 6619206..029112f 100644 --- a/migra-cli/src/main.rs +++ b/migra-cli/src/main.rs @@ -36,7 +36,7 @@ fn main() -> Result<(), Box> { } } } - Command::List => { + Command::List | Command::Upgrade | Command::Downgrade => { unimplemented!(); } } diff --git a/migra-cli/src/opts.rs b/migra-cli/src/opts.rs index de4a90f..84424e2 100644 --- a/migra-cli/src/opts.rs +++ b/migra-cli/src/opts.rs @@ -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)]