parameters:
    installer_bundle.command.database_command.class: 'Akeneo\Platform\Bundle\InstallerBundle\Command\DatabaseCommand'

services:
    akeneo.platform.command.install:
        class: 'Akeneo\Platform\Bundle\InstallerBundle\Command\InstallCommand'
        arguments:
            - '@pim_installer.install_status_manager'
        tags:
            - { name: 'console.command' }

    Akeneo\Platform\Bundle\InstallerBundle\Command\AssetsCommand:
        arguments:
            - '@filesystem'
            - '@event_dispatcher'
            - '%pim_localization.provider.ui_locale.locale_codes%'
            - '%kernel.project_dir%/src'
        tags:
            - { name: 'console.command' }

    Akeneo\Platform\Bundle\InstallerBundle\Command\CheckRequirementsCommand:
        arguments:
            - '%pim_catalog.version.class%'
            - '%kernel.environment%'
            - '%kernel.project_dir%'
        tags:
            - { name: console.command }

    Akeneo\Platform\Bundle\InstallerBundle\Command\DatabaseCommand:
        class: '%installer_bundle.command.database_command.class%'
        arguments:
            - '@doctrine.orm.default_entity_manager'
            - '@akeneo_elasticsearch.registry.clients'
            - '@database_connection'
            - '@pim_installer.fixture_loader.job_loader'
            - '@event_dispatcher'
        tags:
            - { name: console.command }

    Akeneo\Platform\Bundle\InstallerBundle\Command\DumpRequirePathsCommand:
        arguments:
            - '%kernel.project_dir%/src'
            - '%kernel.bundles%'
        tags:
            - { name: console.command }
