浏览代码

redefine CLI namespace

Olivier Massot 3 年之前
父节点
当前提交
158b27a158
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/Commands/DolibarrSyncCommand.php
  2. 1 1
      src/Commands/PostUpgrade/V0_2/PostUpgradeCommand.php

+ 1 - 1
src/Commands/DolibarrSyncCommand.php

@@ -12,7 +12,7 @@ use Symfony\Component\Console\Input\InputOption;
 use Symfony\Component\Console\Output\OutputInterface;
 
 #[AsCommand(
-    name: 'opentalent:dolibarr-sync',
+    name: 'ot:dolibarr-sync',
     description: 'Push the latest data from the Opentalent DB to dolibarr'
 )]
 class DolibarrSyncCommand extends Command

+ 1 - 1
src/Commands/PostUpgrade/V0_2/PostUpgradeCommand.php

@@ -10,7 +10,7 @@ use Symfony\Component\Console\Input\InputInterface;
 use Symfony\Component\Console\Output\OutputInterface;
 
 #[AsCommand(
-    name: 'opentalent:upgrade:0.2',
+    name: 'ot:upgrade:0.2',
     description: 'Execute the post-upgrade scripts for Ap2i v0.2'
 )]
 class PostUpgradeCommand extends Command