consulctl

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2015 License: MIT Imports: 3 Imported by: 0

README

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 - <jean@mertz.fm>

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL