This is the CLI for the Redborder platform, a powerful tool for managing and executing tasks across nodes in a distributed system.
- Build rpm package for redborder platform:
- Clone the repository:
git clone https://github.com/redborder/redborder-cli.git
- Navigate into the cloned directory:
cd redborder-cli
- Build the project using the provided Makefile:
sudo make
Find the built RPM packages under:
packaging/rpm/pkgs/
To get a list of available commands and options, use:
rbcli help
rbcli node list
rbcli node execute <node_name> '<command>'
To execute a command on all nodes in the list use:
rbcli node execute all '<command>'
For example:
rbcli node execute all 'echo\ H3110_w0r1d'
Notice the command needs to have special characters escaped, like white spaces, dashes or quotes.