finish command line tool