lewispeckover / consulator

Import and synchronize your Consul KV data from JSON and YAML
MIT License
32 stars 13 forks source link

Add examples for consulator dump #7

Open inhuman opened 5 years ago

inhuman commented 5 years ago

Add examples for consulator dump please

prologic commented 5 years ago

Add examples for consulator dump please

From what I can tell from the docs; it looks like dump here merely parses the input and spits our JSON. Perhaps the command is poorly named?

lewispeckover commented 5 years ago

It may be poorly named. It simply produces json compatible with consul kv import You can therefore just pipe it: consulator dump .. | consul kv import

prologic commented 5 years ago

Perhaps it could be named consulator export or consulator tojson?