3 ms·
I can do one better: Just learn to use the standard unix tools directly. If you keep stacking wrappers upon wrappers and grow to depend on them you will be tota
by ximm 6y ago
I can do one better: Just learn to use the standard unix tools directly. If you keep stacking wrappers upon wrappers and grow to depend on them you will be totally lost once you have to work on another machine. It also makes it easier to e.g. replace grep by fzf.
For reference:
kb list -> find
kb list foo -> find | grep foo
kb edit --title "git" --category "cheatsheet" -> vim cheatsheet/git
kb delete --id 1 -> rm path/to/file
kb grep foo -> grep -r foo
- nebbiolo 6y agoExactly! I started from there, then these commands evolved into functions and the functions evolved into bash scripts which then evolved into a python program in order to have something more readable/structured and cross platform. But of course no software is an excuse to not learn the good old UNIX core tools. kb is not better than these tools, it just packs them up in order to have a slightly nicer output and be able to associate metadata to the notes in a clean way.