A simple wrapper for command line APIs