knqyf263 / pet

Simple command-line snippet manager
MIT License
4.54k stars 230 forks source link

Allowing set config path #156

Closed seivan closed 1 year ago

seivan commented 3 years ago

https://github.com/knqyf263/pet/blob/0503e25721bb6dc2cc00345b71ed0855ebfb12cd/config/config.go#L125-L127

Would it be possible to have something like os.Getenv("PETCONFIGPATH") for changing where the config file would reside?