Feature request: command-line parameter to specify config file directory
I would like to be able to specify a directory that hosts my config files, via a command-line parameter such as --config-dir, such that the following would work:
selene --config-dir /Users/dejayc/roblox-project --config selene.toml
This would cause selene to look for config /Users/dejayc/roblox-project/selene.toml.
Furthermore, (and this is the important part), If selene.toml contains:
std = "roblox"
I would like for selene to search for roblox.toml in /Users/dejayc/roblox-project/roblox.toml
I write a lot of custom scripts and tools, which are usually located outside of the project directories, and I would like the tools that I use (such as selene), to be capable of running from directories outside of the project.
Presently, I'm required to have selene.toml contain the full or relative path to the referenced config file:
std = "/Users/dejayc/roblox-project/roblox"
I would prefer to not have to create a bunch of different selene.toml files that are identical except for the path to roblox.toml, etc.