Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.2.0
-
Security Level: Public
-
None
-
Untriaged
Description
we should ship that tool/script that Aaron wrote to lookup a data in a couchstore file?
K, whipped up a python tool. On a regular couchbase install..
- put the script where our other tools live
curl https://gist.github.com/apage43/19493cc4965d606e5128/raw/eb503f8f16e6c7b03989e52b395b6ade77843f50/couchlookup.py > /opt/couchbase/lib/python/couchlookup
- make a copy of the wrapper that we use to set up the env vars for them
cp /opt/couchbase/bin/couchbase-cli /opt/couchbase/bin/couchlookup
- use the tool
/opt/couchbase/bin/couchlookup /path/to/file.couch key1 key2 key3 ...