add command-line parser to pipeline