We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35c664c commit ca78ef4Copy full SHA for ca78ef4
src/Maker.php
@@ -5,6 +5,7 @@
5
namespace Dot\Maker;
6
7
use Dot\Maker\IO\Output;
8
+use Dot\Maker\Type\Help;
9
use Dot\Maker\Type\Module;
10
use Dot\Maker\Type\ModuleInterface;
11
use Dot\Maker\Type\TypeEnum;
@@ -51,6 +52,11 @@ public function __invoke(array $arguments): int
51
52
$instance = new ($component)($fileSystem, $context, $config);
53
assert($instance instanceof TypeInterface);
54
55
+ if ($instance instanceof Help) {
56
+ $instance();
57
+ exit;
58
+ }
59
+
60
Output::info(sprintf('Detected project type: %s', $context->getProjectType()));
61
62
if (! $instance->isModule()) {
0 commit comments