github.com/deepthawtz/kv/cmd

simple Consul CLI for getting & setting key/value pairs


License
Apache-2.0
Install
go get github.com/deepthawtz/kv/cmd

Documentation

kv

kv is a tiny CLI tool for getting and setting key value pairs from Consul

get

get ALL key/value pairs at a given key prefix

kv get --prefix env/myapp/stage

get specific key/value pair(s) at a given key prefix

kv get --prefix env/myapp/stage THING_TOKEN

get key/value pair(s) matching pattern at a given key prefix

kv get --prefix env/myapp/stage THING_*

set

set provided key/value pair(s) at a given prefix

kv set --prefix env/myapp/stage YO=123 THING_TOKEN=xcnvbxcmhdf COOL_FACTOR=9000