Closed noizwaves closed 7 months ago
@ethankhall putting this up just for some early async feedback 🙏
Instead of
work_dir
wouldexec_dir
orcwd
orcurrent_working_dir
be better?
Good point. I'm thinking working_dir
is a good mix of the suggestions, and it matches the current scope flag --working-dir
.
The current seems redundant, because I think there will only ever be one working directory at a time.
Problem
Currently, the ScopeDoctorGroup
action.check.paths
are relative to the scope config directory they are located in. This is problematic for shared configurations (i.e. stored in/etc/scope/shared/*
) which need to check application files in the current working directory.Solution
Evaluate the path globs as templates which can access a
working_dir
variable.TODO
unit tests