Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.
Given that rib's CLI is being simplified, the following CLI becomes possible:
neuron new -d ~/some/zettelkasten ...
neuron new ... # Default: ~/zettelkasten
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.
neuron some/zettelkasten ...
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.
neuron -d ...
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. :-)
neuron -d $ZDIR