implemented a cli for the pipeline