mantl / consul-cli

Command line interface to Consul HTTP API
Apache License 2.0
251 stars 67 forks source link

Support for /v1/txn #44

Open margueritepd opened 7 years ago

margueritepd commented 7 years ago

Consul 0.7 introduced the /v1/txn endpoint which allows multiple operations to the key/value store to occur within a transaction.

It would be useful to completely replace a kv subtree atomically. Currently this requires a delete and then a bulkload, which is not ideal. Any plans to incorporate consul transactions into consul-cli to support this workflow?

Theaxiom commented 7 years ago

Seems like an excellent research project. 👍