0.4.5 • Published 8 years ago

furthermore v0.4.5

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

furthermore

Greenkeeper badge

Interim censeo, Carthago delenda est. She is a menace to Rome.

on npm Tests Coverage Status Dependencies

furthermore is a command-line tool that manipulates keys in an etcd server or cluster somewhere over there. It's meant to be more convenient than etcdctl. npm install -g furthermore to begin setting keys.

It uses a file named ~/.etcdrc for config. That file looks like this:

[default]
hosts=etcd.example.com:443
ssl=true

[staging]
hosts=staging-etcd.example.com:443
ssl=true

[cluster]
hosts[]=etcd-1.example.com:443
hosts[]=etcd-2.example.com:443
ssl=true

The named sections may be passed to the --env option to use a different etcd host group than the default.

Usage:

furthermore: manipulate keys on a remote etcd server

Commands:
  backup             emit all keys in the given db as a json object
  get <key>          get the value for a key; wrap the key in // to treat it as a regexp
  grep <pattern>     search for values matching the given regexp pattern
  import <json>      import key/value pairs from a json file & set them in etcd
  ls <dir>           get a directory listing
  mkdir <dir>        create the named directory, recursively
  reconcile <json>   report how the keys in the given json file differ from the keys in etcd
  rm <key>           remove a key
  rmdir <dir>        remove the named directory
  set <key> <value>  set a key to a new value

Options:
  --env, -e  which etcd host group to use                   [default: "default"]
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]

Examples:
  furthermore ls /deploys
  furthermore mkdir /deploys/website
  furthermore set /deploys/website/commit bfc8d32
  furthermore get /deploys/website/commit
  furthermore get "/foo/b.*/"
  furthermore rm /deploys/website/commit
  furthermore -e staging set canonical-host https://example.com

License

ISC

0.4.5

8 years ago

0.4.4

9 years ago

0.4.3

9 years ago

0.4.2

9 years ago

0.4.1

9 years ago

0.4.0

9 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago

0.0.1

10 years ago