Mostly for testing purposes, it would be nice if ParseOptions included an env override, to be used instead of process.env. I know there are various mocking approaches that could work, but it would be simpler in my case to just pass through the desired value to parse().
If this sounds like a reasonable feature, I'd be happy to implement it.
Mostly for testing purposes, it would be nice if
ParseOptionsincluded anenvoverride, to be used instead ofprocess.env. I know there are various mocking approaches that could work, but it would be simpler in my case to just pass through the desired value toparse().If this sounds like a reasonable feature, I'd be happy to implement it.