Skip to content

Latest commit

 

History

History
53 lines (44 loc) · 1.03 KB

README.md

File metadata and controls

53 lines (44 loc) · 1.03 KB

redborder-cli

This is the CLI for the Redborder platform, a powerful tool for managing and executing tasks across nodes in a distributed system.

BUILDING

  • Build rpm package for redborder platform:
  1. Clone the repository:
git clone https://github.com/redborder/redborder-cli.git
  1. Navigate into the cloned directory:
cd redborder-cli
  1. Build the project using the provided Makefile:
sudo make

Find the built RPM packages under:

packaging/rpm/pkgs/

RUNNING RBCLI

Print helper

To get a list of available commands and options, use:

rbcli help

Get all nodes list

rbcli node list

Execute command in one node

rbcli node execute <node_name> '<command>'

Execute command in all nodes

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.