A newer version of this documentation is available: View the Latest Version

Initialization

In addition to creating pipelines via the Magento backend and dynamically via the pipeline initializer logic, pipelines can also be generated with CLI commands.

CLI Command

bin/magento pipeline:init

A defined pipeline name must be passed as a CLI command argument to generate the correct pipeline.

Example

Generation of a cleanup pipeline using the pipeline attribute clean_up_pipelines

bin/magento pipeline:init clean_up_pipelines

Output

bin/magento pipeline:init clean_up_pipelines

Create pipeline "clean_up_pipelines" with 3 steps: "Pack the pipelines and make cleanup by configuration"