Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'Fetch' command to nudb tool #38

Open
MarkusTeufelberger opened this issue Sep 27, 2016 · 4 comments
Open

Add 'Fetch' command to nudb tool #38

MarkusTeufelberger opened this issue Sep 27, 2016 · 4 comments

Comments

@MarkusTeufelberger
Copy link
Contributor

Might be useful for external tools/scripts (e.g. inserting data, retreiving data and asserting that it is the same).

@vinniefalco
Copy link
Member

This is great, but it would be even better as a pull request!

@MarkusTeufelberger
Copy link
Contributor Author

I can try, but I'm neither very deep into modern C++ nor boost at the moment, so don't expect anything great...

@vinniefalco
Copy link
Member

No worries, lets just design what such a feature might look like. How about

nudb fetch <dat-file> <key-file> <key>

Where <key> is a hexadecimal string?

@MarkusTeufelberger
Copy link
Contributor Author

Yeah, that's about what I would be expecting. The command would then print the data (probably also in Hex) or an error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants