command line code generation