Closed carlaKC closed 3 years ago
This PR adds a base dir to aperture for move convenient file placement.
There's always some thinking to so with our various file placement flags (specifically --configfile and --basedir), gone with the following logic:
--configfile
--basedir
AppDir
aperture.yaml
basedir
Reason for allowing a --configfile and --basedir is that custom config file allows you to set the name of your config file as well as location.
@guggero @ellemouton PTAL 🙏
This PR adds a base dir to aperture for move convenient file placement.
There's always some thinking to so with our various file placement flags (specifically
--configfile
and--basedir
), gone with the following logic:AppDir
if nothing is set--configfile
is set, useAppDir
for files, use custom config location and require that it exists--basedir
is set, look foraperture.yaml
inbasedir
but do not require it--configfile
and--basedir
are set, usebasedir
for files and require--configfile
existsReason for allowing a
--configfile
and--basedir
is that custom config file allows you to set the name of your config file as well as location.