lev
lev copied to clipboard
refactoring CLI commands and documenting
[this is a the same as #58 but with a different branch to be able to customize master]
hi! I was struggling to use the CLI, so I dug into the code and went into refactoring berserk mode: it might be a lot of changes, so feel welcome to merge or cherry-pick whatever make sense to you :)
Summary:
- documented CLI commands
- renamed the
--createReadStreamcommand into--allto distinct it from--keysand--valuesstreams - Added a
--linemode for--keys - Added a
--lengthcommand - Added a
--mapcommand - Fixed the
--batchoption and let it take operations from a file - made
--alland--batchbe fit to be used as import/export tools - Merged CLI stream commands code to mutualize logic
[Edit: those changes are now part of lev2]