Extend init pipeline

In step one, you must implement a custom model for the interface TechDivision\PacemakerPipelineInitializer\Api\InitializationDataFetcherInterface.

In Step two, you must register your implementation to the DataFetcher-Chain:
<type name="TechDivision\PacemakerPipelineInitializer\Model\InitializationDataFetcherChain">
    <arguments>
        <argument name="dataFetcher" xsi:type="array">
            <item name="pacemaker.order.export" xsi:type="object">TechDivision\PacemakerOrderExport\Model\PipelineInitializer</item>
        </argument>
    </arguments>
</type>

To execute the dataFetcher implementation, enable the configuration for using Init-Pipeline to generate a pipeline

Output

pipeline inizialiazer

Prevention the initialization of pipelines

Initialization prevention of the pipeline in the command line.

As the following step, register the excludedPipelines to TechDivision\ProcessPipelines\Console\InitCommand to prevent initialization of the pipeline in the config:
<type name="TechDivision\ProcessPipelines\Console\InitCommand">
    <arguments>
        <argument name="excludedPipelines" xsi:type="array">
            <item name="pacemaker_order_export" xsi:type="string">pacemaker_order_export</item>
        </argument>
    </arguments>
</type>
Next, register the excludedFromSource to TechDivision\ProcessPipelines\Config\Config:
<type name="TechDivision\ProcessPipelines\Config\Config">
    <arguments>
        <argument name="excludedFromSource" xsi:type="array">
            <item name="pacemaker_order_export" xsi:type="string">pacemaker_order_export</item>
        </argument>
    </arguments>
</type>