unifies builds command line code to common style