Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement fdbcli missing commands (#137)
* Add missing fdbcli commands (10) Realized that transaction isn't needed as it's own message. Instead we simply take one or more commands and then chain them together with exec. Implement begin and commit so transactions will work in this fashion. Fix kill (it has options I missed). Add tests for everything. * Add a multi-command test * Refactor to account for N commands separated by semicolon and new Request structure. Also fix Kill since we changed it's proto struct as well. TODO: Remaining new commands and some sanity testing for N commands. * regen * Implement all the remaining missing CLI commands. Standardize usage Fix help/flags/commands to work correctly. Rename fdbcli help to fdbclihelp as we have a conflict otherwise. * Make sure for basic top level help/flags/commands we still pass an execute state. * Fix tabwriter so the output actually looks good when we're nested a bit. * Update reserved syntax to actual proto3 style * Add default cases for internal oneof's so we error if one gets added we don't handle * Remove transaction. it's no longer a distinct message * Rewrite parse loop to be a lot cleaner
- Loading branch information