SeanDS / pinto

Supercharged command line interface for Beancount.
GNU General Public License v3.0
3 stars 0 forks source link

More flexible directory setup #3

Open nlydv opened 2 years ago

nlydv commented 2 years ago

Trying this out for the first time and a quick suggestion.

It'd be nice for Pinto to look for a main.bean file in addition to main.beancount. Also perhaps instead of (or in addition to) setting PINTO_DIR env variable, it could check for a PINTO_MAIN or BEANCOUNT_FILE (to use the same var as Fava) so you could name the entrypoint file something other than "main".

SeanDS commented 2 years ago

Thanks for the suggestions. Both sound good to me. I wasn't aware of Fava's environment variable for the Beancount file, so if that's what they use then I'd probably just change pinto to use that instead of inventing its own as it currently does.

I should have a bit of time in the coming weeks to hopefully make this and some other changes.