Library to create a command-line program from a function
