RubyFlow The Ruby and Rails community linklog

tty-exit: terminal exit codes for humans and machines

The tty-exit is here to provide human friendly and standard way to use exit status codes in command-line applications. Instead of saying exit(64), you can say exit_with(:usage_error). It is so much nicer! Wouldn’t you agree? That’s why tty-exit gathers a list of all the most common exit codes as used by POSIX-compliant tools on different Unix systems for you to use. Enjoy!

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in