Command line interface helpers