Today we have the ability to export a pipeline and import it back in a different environment.
If users want to do it in bulk (export all pipelines from a namespace) then they would have to use UI to go to every single pipeline and export it. It would be easier if we exposed a CLI or an API option to export pipeline(s) in bulk.
Right now the `/apps/:appId` end point returns the app spec but it is not the same json that we export in UI. The pipeline json export from UI is not the same as the app specification.
- Have an API endpoint to expose the same pipeline config json that is exported in UI to be able to use it to deploy in another environment (for automation and bulk export)
- Add a cli option to do the same (nice to have).