verniy-mq-cli is a simple Command-Line Interface (CLI) tool designed for interacting with verniy-mq, a lightweight message queue system developed by the creator of this tool.
Make sure you have curl
on your machine.
Then, you can install verniy-mq-cli using the following command:
curl -LJO https://github.com/verniyyy/verniy-mq-cli/releases/download/v1.0.0/vmq-cli
chmod +x vmq-cli
sudo cp -p vmq-cli /usr/local/bin
Alternatively, you can clone the repository and build verniy-mq-cli manually.
Here's how:
git clone https://github.com/verniyyy/verniy-mq-cli.git
cd verniy-mq-cli
sudo make install
This will clone the repository and use the provided Makefile to build and install verniy-mq-cli. The binary will be installed in /usr/local/bin.
VERNIY_MQ_PASSWORD=password vmq-cli -H localhost -u root -p 5672
> create ${new queue name}
> list
> deleteq ${queue name}
> ${queue name} publish
> ${queue name} consume
> ${queue name} ${message id}
The queue specification can be omitted.
> use ${queue name}
${queue name}> consume
> quit
or
> exit
If you have suggestions, bug reports, or want to contribute to verniy-mq-cli, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.