{"id":20354384,"url":"https://github.com/hemerajs/hemera-cli","last_synced_at":"2025-04-12T02:33:19.880Z","repository":{"id":76944184,"uuid":"84131204","full_name":"hemerajs/hemera-cli","owner":"hemerajs","description":"CLI for Hemera","archived":false,"fork":false,"pushed_at":"2018-03-19T21:12:11.000Z","size":91,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T05:40:32.755Z","etag":null,"topics":["cli","hemera","monitoring"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hemerajs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-03-06T23:21:20.000Z","updated_at":"2019-07-15T13:16:53.000Z","dependencies_parsed_at":"2024-01-23T21:15:57.010Z","dependency_job_id":"e0287d47-c2f3-49c1-bd17-26d4766f879b","html_url":"https://github.com/hemerajs/hemera-cli","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemerajs%2Fhemera-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemerajs%2Fhemera-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemerajs%2Fhemera-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemerajs%2Fhemera-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hemerajs","download_url":"https://codeload.github.com/hemerajs/hemera-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224703858,"owners_count":17355712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","hemera","monitoring"],"created_at":"2024-11-14T23:08:24.363Z","updated_at":"2024-11-14T23:08:24.889Z","avatar_url":"https://github.com/hemerajs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hemera-cli\n[![NPM Downloads](https://img.shields.io/npm/dt/hemera-cli.svg?style=flat)](https://www.npmjs.com/package/hemera-cli)\n[![npm](https://img.shields.io/npm/v/hemera-cli.svg?maxAge=3600)](https://www.npmjs.com/package/hemera-cli)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com)\n\n## Install\n\n```js\nnpm install -g hemera-cli\nhemera-cli\n```\n\n## Commands\n\n### Create plugin\n\nCreate a basic plugin hemera plugin with a test suite.\n\n```\n$ create plugin \u003cname\u003e\n```\n\n### List services\n\nList all available services in your network.\n\n__Prerequisites__\n\nYou service have to use the [hemera-stats](https://github.com/hemerajs/hemera/tree/master/packages/hemera-stats) plugin. Look at this [example](/examples/test-server.js).\n\n```\n$ connect\n$ services\n```\n\n\n### List actions\n\nList all available actions in your network.\n\n__Prerequisites__\n\nYou service have to use the [hemera-stats](https://github.com/hemerajs/hemera/tree/master/packages/hemera-stats) plugin. Look at this [example](/examples/test-server.js).\n```\n$ connect\n$ actions\n```\n\n### Start a request\n\nStart a request against a server method and print the ouput in a coloured YAML-style, perfect for CLI output.\n\n```\n$ connect\n$ act --pattern topic:math,cmd:add,a:2,b:44\n$ result: 46\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhemerajs%2Fhemera-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhemerajs%2Fhemera-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhemerajs%2Fhemera-cli/lists"}