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
library as a command line tool.
export
to export a tree of key/values as JSON.json-export
same asexport
import
to import a tree of key/values from JSON/JSON5.import-json
same asimport
leader
show the current raft leaderpeers
show the current raft peers