Print infos about a message queue
This commit is contained in:
parent
fe877b230c
commit
33f0bf8312
3 changed files with 28 additions and 1 deletions
|
@ -3,6 +3,7 @@ use clap::Clap;
|
|||
|
||||
mod cli;
|
||||
mod create;
|
||||
mod info;
|
||||
mod unlink;
|
||||
|
||||
use cli::{Command, Opts};
|
||||
|
@ -12,6 +13,7 @@ fn main() -> Result<()> {
|
|||
|
||||
match opts.command {
|
||||
Command::Create(c) => c.run(opts.verbose)?,
|
||||
Command::Info(i) => i.run()?,
|
||||
Command::Unlink(u) => u.run(opts.verbose)?,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue