Xiang Li
535064924c
etcdctlv3: make PUT command clean and documented
2016-02-18 07:46:05 -08:00
Xiang Li
d78cff2c4a
etcdctlv3: separate out cmd parsing logic for creating client
2016-02-15 14:44:25 -08:00
Xiang Li
b5d5bf625d
etcdctlv3: put should check error
2016-02-11 15:01:33 -08:00
Hitoshi Mitake
674d54ad9b
etcdctlv3: handle a case of 0 arguments in put command
2016-02-09 12:22:25 +09:00
Hitoshi Mitake
075f5f68ad
etcdctlv3: support reading value from stdin
...
This commit lets etcdctlv3 support reading value from stdin like
`etcdctl set`. It is convenient for storing complex, long value.
2016-02-09 10:54:35 +09:00
Anthony Romano
9a5a3ebc79
etcdctlv3: consolidate dial code; use clientv3
2016-01-27 12:13:17 -08:00
Gyu-Ho Lee
fa21946267
*: pass WithInsecure to grpc.Dial for now
...
Related to https://github.com/coreos/etcd/issues/4299 .
2016-01-27 00:24:03 -08:00
Gyu-Ho Lee
054db2e3cf
etcdctl, etcdctlv3: add help message for non-valid value arg
...
Unix commands interprets argument value of first character '-'
as a flag. And this won't be fixed in our upstream CLI libraries.
This adds help message to show users workarounds.
Addressing https://github.com/coreos/etcd/issues/2020 .
2016-01-13 09:25:24 -08:00
Xiang Li
f5753f2f51
*: support lease Attach
...
Now we can attach keys to leases. And revoking the lease removes all
the attached keys of that lease.
2016-01-09 11:01:58 -08:00
Gyu-Ho Lee
b7647e0b55
etcdctlv3: use spf13/cobra for cli interface
...
This replaces codegansta/cli with spf13/cobra base on
this guideline: https://github.com/coreos/docs/blob/master/golang/README.md#cli .
2015-11-26 08:01:09 -08:00
Xiang Li
1a3f7f7fa4
*: rename etcd service to kv service in gRPC
2015-11-04 10:05:49 -08:00
Xiang Li
121d2b9e9d
etcdctlv3: support endpoint flag
2015-09-12 22:46:43 -07:00
Xiang Li
c32919e6d1
*: rename v3etcdctl to etcdctlv3
2015-08-10 11:21:37 -07:00