add a minimal command-line tool