What would you like to be added:
Clio should know that certain config fields represent paths on the local filesystem, and should do some common expansions, for example ~, $HOME, and $TMPDIR, so that these can be expanded.
Probably we want something like type LocalPath string in the config, and then config structs in clio applications can declare fields to be LocalPath instead of string in order to get the expansion behavior.
Why is this needed:
anchore/grype#2024
anchore/grype#2599
What would you like to be added:
Clio should know that certain config fields represent paths on the local filesystem, and should do some common expansions, for example
~,$HOME, and$TMPDIR, so that these can be expanded.Probably we want something like
type LocalPath stringin the config, and then config structs in clio applications can declare fields to beLocalPathinstead ofstringin order to get the expansion behavior.Why is this needed:
anchore/grype#2024
anchore/grype#2599