finalize command line interface