a minimal command line interpreter