I was able to verify this change manually with a debug build locally.
Shared config is present
❯ tree ~/workspace/gusto_scope_config
/Users/adam.neumann/workspace/gusto_scope_config
├── bin
│ └── scope
└── etc
└── scope
└── homebrew.yaml
❯ ~/workspace/gusto_scope_config/bin/scope doctor list
INFO Available checks that will run
INFO Name Description Path
INFO - ScopeDoctorGroup/homebrew Homebrew ../gusto_scope_config/bin/../etc/scope/homebrew.yaml
Shared config is missing
/Users/adam.neumann/workspace/gusto_scope_config
├── bin
│ └── scope
└── etc
❯ ~/workspace/gusto_scope_config/bin/scope doctor list
INFO Available checks that will run
INFO Name Description Path
Following on https://github.com/ethankhall/scope/discussions/74, this PR updates
scope
to also search for config files relative to it's current executable path.Testing
I was able to verify this change manually with a debug build locally.
Shared config is present
Shared config is missing