All Projects → JeanMertz → Consulctl

JeanMertz / Consulctl

Licence: mit
Easily get and manage key/value pairs in a Consul cluster.

Programming Languages

go
31211 projects - #10 most used programming language

consulctl

Easily get and manage key/value pairs in a Consul cluster.

Examples

$ consulctl put foo bar
$ consulctl put foo/bar baz
$ consulctl put foo/bar/baz qux

$ consulctl get foo
# => bar

$ consulctl get foo/bar
# => baz

$ consulctl delete foo
$ consulctl delete -r foo/bar

$ consulctl get foo/bar/baz
# =>

Help

NAME:
   consulctl - A simple command line client for Consul k/v store.

USAGE:
   consulctl [global options] command [command options] [arguments...]

VERSION:
   0.3.0

AUTHOR:
  Jean Mertz - <[email protected]>

COMMANDS:
   get      retrieve the value of a key
   put      set the value of a key
   delete   delete a key
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --address, -A "127.0.0.1:8500"   the remote endpoint for the Consul cluster [$CONSUL_KV_ADDRESS]
   --wait, -w "0"                   request timeout value in seconds [$CONSUL_KV_WAIT]
   --help, -h                       show help
   --version, -v                    print the version
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].