services:
    _defaults:
        public: false

    Oro\Bundle\UserBundle\Command\CreateUserCommand:
        arguments:
            - '@oro_user.manager'
            - '@doctrine.orm.entity_manager'
        tags:
            - { name: console.command }

    Oro\Bundle\UserBundle\Command\ImpersonateUserCommand:
        arguments:
            - '@doctrine'
            - '@router'
            - '@oro_config.manager'
            - '@oro_user.manager'
            - '@oro_locale.formatter.date_time'
        tags:
            - { name: console.command }

    Oro\Bundle\UserBundle\Command\ListUserCommand:
        arguments:
            - '@doctrine'
        tags:
            - { name: console.command }

    Oro\Bundle\UserBundle\Command\UpdateUserCommand:
        parent: Oro\Bundle\UserBundle\Command\CreateUserCommand
        public: false
        tags:
            - { name: console.command }
