Skip to content

verniyyy/verniy-mq-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

verniy-mq-cli

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.

Installation

Using curl

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

Using git clone and manual build

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.

Usage

Connect to the server

VERNIY_MQ_PASSWORD=password vmq-cli -H localhost -u root -p 5672

Create a new queue

> create ${new queue name}

Get list of queues

> list

Delete a queues

> deleteq ${queue name}

Publish a Message

> ${queue name} publish

Consume a Message

> ${queue name} consume

Delete a Message

> ${queue name} ${message id}

Set a queue

The queue specification can be omitted.

> use ${queue name}
${queue name}> consume

Close connection

> quit

or

> exit

Contributing

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.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published