Flexible library to build command-line apps