@shardeum-foundation/tools-shardus-cli-network
v4.6.1
Published
Tool for managing a Shardus test network
Downloads
208
Readme
Shardus CLI Network Tool
A command-line tool for managing Shardus test networks.
Installation
npm install -g @shardeum-foundation/tools-shardus-cli-networkUsage
shardus-network <command> [options]Available Commands
create(alias:create-net) - Create a new test networkstart(alias:start-net) - Start a stopped test network, or create a new onestop(alias:stop-net) - Stop a test networkrestart(alias:restart-net) - Restart nodes or archiversclean(alias:clean-net) - Clean the state of all instances in a test netconfig(alias:config-net) - Set the config file for all nodes in the network directoryls(alias:list-net) - List all the shardus pm2 processespm2- Run a pm2 command in the test network dir
Development
Setup
git clone https://github.com/shardeum/tools-cli-shardus-network.git
cd tools-cli-shardus-network
npm installTesting
The project uses Jest for testing. To run the tests:
npm testBuilding
npm run compile