https://github.com/jlyonsmith/consul-extra
Extended commands for the consul CLI
https://github.com/jlyonsmith/consul-extra
Last synced: about 1 month ago
JSON representation
Extended commands for the consul CLI
- Host: GitHub
- URL: https://github.com/jlyonsmith/consul-extra
- Owner: jlyonsmith
- License: mit
- Created: 2018-10-17T03:54:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-25T20:07:22.000Z (over 7 years ago)
- Last Synced: 2025-12-25T01:12:25.769Z (6 months ago)
- Language: JavaScript
- Size: 248 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Extra Commands for the `consul` CLI
## Summary
This tool provides some extra features to the `consul` command line tool. Install it globally with `npm install consul-extra` and run it with `consul-extra`.
This tool exposes the functionality of the [`consul`](https://www.npmjs.com/package/consul) library as a command line tool.
## Commands
### Key/Value
- `export` to export a tree of key/values as JSON.
- `json-export` same as `export`
- `import` to import a tree of key/values from JSON/JSON5.
- `import-json` same as `import`
### Status
- `leader` show the current raft leader
- `peers` show the current raft peers