pjs icon indicating copy to clipboard operation
pjs copied to clipboard

feat: centralize projects

Open bashbunni opened this issue 1 year ago • 2 comments

the projects get created and stored in the dir where you run pjs. This should be a central location with the option to change the default location with env variables

bashbunni avatar Mar 03 '23 19:03 bashbunni

Could the option be set using a library like Viper? It has the option to set and read from environment variables or a configuration file.

nicfitzgerald avatar Mar 17 '23 07:03 nicfitzgerald

I threw together a quick example of using a centralized config/database path here. I used $XDG guidelines per this comment.

nicfitzgerald avatar Mar 17 '23 09:03 nicfitzgerald