Send a message to a queue
This commit is contained in:
parent
33f0bf8312
commit
36d9e8c02c
3 changed files with 42 additions and 1 deletions
src
|
@ -4,6 +4,7 @@ use clap::Clap;
|
|||
mod cli;
|
||||
mod create;
|
||||
mod info;
|
||||
mod send;
|
||||
mod unlink;
|
||||
|
||||
use cli::{Command, Opts};
|
||||
|
@ -15,6 +16,7 @@ fn main() -> Result<()> {
|
|||
Command::Create(c) => c.run(opts.verbose)?,
|
||||
Command::Info(i) => i.run()?,
|
||||
Command::Unlink(u) => u.run(opts.verbose)?,
|
||||
Command::Send(s) => s.run(opts.verbose)?,
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue