Skip to content

Commit 6e838f3

Browse files
Merge pull request #177 from dpfaffenbauer/fix-commands
change command for definitions:import
2 parents 35869e5 + 0a6d73c commit 6e838f3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ImportDefinitionsBundle/Command/AbstractImportDefinitionCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ protected function configure()
6767
$type = $this->getType();
6868

6969
$this
70-
->setName(sprintf('%s-definitions:import-definition', strtolower($type)))
70+
->setName(sprintf('%s-definitions:definition:import', strtolower($type)))
7171
->setDescription(sprintf('Create a %s Definition.', $type))
7272
->addArgument(
7373
'path',

src/ImportDefinitionsBundle/Resources/config/services/commands.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ services:
3030
- '@pimcore.dao.object_manager'
3131
- '@coreshop.resource_controller.form_factory'
3232
tags:
33-
- { name: 'console.command', command: 'import-definitions:import-definition' }
33+
- { name: 'console.command', command: 'import-definitions:definition:import' }
3434

3535
ImportDefinitionsBundle\Command\ImportExportDefinitionCommand:
3636
arguments:
@@ -39,4 +39,4 @@ services:
3939
- '@pimcore.dao.object_manager'
4040
- '@coreshop.resource_controller.form_factory'
4141
tags:
42-
- { name: 'console.command', command: 'export-definitions:import-definition' }
42+
- { name: 'console.command', command: 'export-definitions:definition:import' }

0 commit comments

Comments
 (0)