its also pretty easy to write applescript to do this. While apple script will not allow real-time control of a cli app, it is an extremely easy way to allow non-cli users to use a cli application.
At any rate, its probably easier than compiling your code into a cocoa app.