Refactored command model parseArgs