ITRS-Group / cordial

Cordial comprises a set of interrelated programs, integrations, libraries and packages for Geneos, principally written in Go.
Other
7 stars 0 forks source link

pkg/config handling of user config dirs and app config dirs is a mess #155

Closed pgalbavy-itrs closed 1 year ago

pgalbavy-itrs commented 1 year ago

After looking at the (mis)use of ParentDirectory() and HomeDir() in tools/cordial it has become apparent that the way pkg/config hadles options for SaveDir() and then IgnoreConfigDir() are a mess.

This needs thinking about and fixing, but it will involve API changes.