command line code