New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use specific error status for missing .envrc #470
Comments
Happy to get a PR that classifies all the possible error types |
Starting point: Line 19 in f697949
|
Basically you would introduce an |
This could be used as a starting point for the actual exit code numbers: https://www.freebsd.org/cgi/man.cgi?query=sysexits&apropos=0&sektion=0&manpath=FreeBSD+11.2-stable&arch=default&format=html |
Now all we need is for somebody to actually implement it :p |
For editor integration like https://github.com/wbolster/emacs-direnv to be able to provide a nice user interface, they need to be able to discern the different failure states, like a missing
.envrc
and possibly others.Of course they could match on the error message, but a nicer way is to have more specific failure status codes, e.g. “missing .envrc” would get status
2
.The text was updated successfully, but these errors were encountered: