pronto
pronto copied to clipboard
Changing the exit code
To start off, it's handy having the exit code option in the CLI. I'm working on writing Pronto into my Git pre-commit hook that I use across most projects.
Basing exit codes on how many errors were found does break Linux standards for exit codes though. It may not be a huge issue, but if you build Pronto into a service script for SystemD or init.d, you might run into issues. IIRC exit 3 on HP-UX for example will reboot the server, if done from init.d scripts.
Not sure if this is really something that will ever have effects, but it should at least be documented.
@davejlong :+1:, good points.
Would you create a pull request that expands documentation?