diff options
Diffstat (limited to 'src/bin/zot/main.rs')
-rw-r--r-- | src/bin/zot/main.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/zot/main.rs b/src/bin/zot/main.rs index 8508c13..8cb3622 100644 --- a/src/bin/zot/main.rs +++ b/src/bin/zot/main.rs @@ -104,27 +104,27 @@ async fn main() -> Result<(), Box<(dyn std::error::Error + 'static)>> { Ok(match matches.subcommand() { ("verify", Some(_)) => { - let cmd = command::verify::VerifyCmd{}; + let cmd = command::VerifyCmd{}; cmd.run(z).await?; } ("version", Some(_)) => { - let cmd = command::version::VersionCmd{}; + let cmd = command::VersionCmd{}; cmd.run(z).await?; } ("channel", Some(m)) => { match m.subcommand() { ("list", Some(_)) => { - let cmd = command::channel::list::ChannelListCmd{}; + let cmd = command::ChannelListCmd{}; cmd.run(z).await?; } ("stream", Some(_)) => { - let cmd = command::channel::stream::ChannelStreamCmd{}; + let cmd = command::ChannelStreamCmd{}; cmd.run(z).await?; } ("export", Some(_)) => { - let cmd = command::channel::export::ChannelExportCmd{}; + let cmd = command::ChannelExportCmd{}; cmd.run(z).await?; } _ => { @@ -136,7 +136,7 @@ async fn main() -> Result<(), Box<(dyn std::error::Error + 'static)>> { ("contact", Some(m)) => { match m.subcommand() { ("list", Some(_)) => { - let cmd = command::contact::list::ContactListCmd{}; + let cmd = command::ContactListCmd{}; cmd.run(z).await?; } _ => { |