Create cmdline.py

cmdline.py code