Skip to content

hemerajs/hemera-cli

Repository files navigation

Hemera-cli

NPM Downloads npm js-standard-style

Install

npm install -g hemera-cli
hemera-cli

Commands

Create plugin

Create a basic plugin hemera plugin with a test suite.

$ create plugin <name>

List services

List all available services in your network.

Prerequisites

You service have to use the hemera-stats plugin. Look at this example.

$ connect
$ services

List actions

List all available actions in your network.

Prerequisites

You service have to use the hemera-stats plugin. Look at this example.

$ connect
$ actions

Start a request

Start a request against a server method and print the ouput in a coloured YAML-style, perfect for CLI output.

$ connect
$ act --pattern topic:math,cmd:add,a:2,b:44
$ result: 46