consul/command/kv
Alex Dzyoba 098fd1797b command/kv: Add prefix option to kv import command
Currently when data is imported via `consul kv import` it overwrites
keys under the root key. Since `consul kv export` can retrieve data for
the given prefix, i.e. part of the KV tree, importing it under root may
be not what users want.

To mirror prefix behavior from export this PR adds prefix feature to the
import command that adds prefix to all keys that are imported.
2021-02-19 14:07:25 +03:00
..
del testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
exp testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
get testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
imp command/kv: Add prefix option to kv import command 2021-02-19 14:07:25 +03:00
impexp
put testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
kv.go
kv_test.go