diff --git a/module/CLI/config/cli.config.php b/module/CLI/config/cli.config.php index adc49fa9..699d4275 100644 --- a/module/CLI/config/cli.config.php +++ b/module/CLI/config/cli.config.php @@ -5,10 +5,10 @@ return [ 'cli' => [ 'commands' => [ - Command\GenerateShortcodeCommand::class, - Command\ResolveUrlCommand::class, - Command\ListShortcodesCommand::class, - Command\GetVisitsCommand::class, + Command\Shortcode\GenerateShortcodeCommand::class, + Command\Shortcode\ResolveUrlCommand::class, + Command\Shortcode\ListShortcodesCommand::class, + Command\Shortcode\GetVisitsCommand::class, Command\ProcessVisitsCommand::class, Command\Config\GenerateCharsetCommand::class, Command\Config\GenerateSecretCommand::class, diff --git a/module/CLI/config/dependencies.config.php b/module/CLI/config/dependencies.config.php index 18e05dcb..682204b4 100644 --- a/module/CLI/config/dependencies.config.php +++ b/module/CLI/config/dependencies.config.php @@ -10,11 +10,10 @@ return [ 'factories' => [ Application::class => ApplicationFactory::class, - Command\GenerateShortcodeCommand::class => AnnotatedFactory::class, - Command\ResolveUrlCommand::class => AnnotatedFactory::class, - Command\ListShortcodesCommand::class => AnnotatedFactory::class, - Command\GetVisitsCommand::class => AnnotatedFactory::class, - Command\ProcessVisitsCommand::class => AnnotatedFactory::class, + Command\Shortcode\GenerateShortcodeCommand::class => AnnotatedFactory::class, + Command\Shortcode\ResolveUrlCommand::class => AnnotatedFactory::class, + Command\Shortcode\ListShortcodesCommand::class => AnnotatedFactory::class, + Command\Shortcode\GetVisitsCommand::class => AnnotatedFactory::class, Command\ProcessVisitsCommand::class => AnnotatedFactory::class, Command\Config\GenerateCharsetCommand::class => AnnotatedFactory::class, Command\Config\GenerateSecretCommand::class => AnnotatedFactory::class, diff --git a/module/CLI/src/Command/GenerateShortcodeCommand.php b/module/CLI/src/Command/Shortcode/GenerateShortcodeCommand.php similarity index 97% rename from module/CLI/src/Command/GenerateShortcodeCommand.php rename to module/CLI/src/Command/Shortcode/GenerateShortcodeCommand.php index f02c110b..2830fb40 100644 --- a/module/CLI/src/Command/GenerateShortcodeCommand.php +++ b/module/CLI/src/Command/Shortcode/GenerateShortcodeCommand.php @@ -1,5 +1,5 @@