I like it more than neuron some/zettelkasten ... but I'm not sure there should be a default. That being said most people will probably have a personal zettelkasten and will only switch to other zettelkastens occasionally. I guess an env var defining the personal zettelkasten isn't a bad idea after all.
I'm going with neuron -d ... with the default being ~/zettelkasten. Most users should have one zettelkasten, so not having to specify -d .. for every command is a good thing.
Env var? Well I'm not a fan of it; of letting env vars magically affect behaviour. But one can always pass neuron -d $ZDIR or something. If that's too much type, create an alias. :-)
Given that rib's CLI is being simplified, the following CLI becomes possible:
Is there an argument against switching to this CLI format?
I like it more than
neuron some/zettelkasten ...
but I'm not sure there should be a default. That being said most people will probably have a personal zettelkasten and will only switch to other zettelkastens occasionally. I guess an env var defining the personal zettelkasten isn't a bad idea after all.I'm going with
neuron -d ...
with the default being~/zettelkasten
. Most users should have one zettelkasten, so not having to specify-d ..
for every command is a good thing.Env var? Well I'm not a fan of it; of letting env vars magically affect behaviour. But one can always pass
neuron -d $ZDIR
or something. If that's too much type, create an alias. :-)