Extract command line builder logic into ProcessComandLineBuilder