File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 55namespace Butschster \ContextGenerator \Application \Bootloader ;
66
77use Butschster \ContextGenerator \Console \GenerateCommand ;
8- use Butschster \ContextGenerator \Console \InitCommand ;
98use Butschster \ContextGenerator \Console \SchemaCommand ;
109use Butschster \ContextGenerator \Console \SelfUpdateCommand ;
1110use Butschster \ContextGenerator \Console \VersionCommand ;
@@ -58,7 +57,6 @@ public function boot(ConsoleBootloader $console): void
5857 {
5958 $ console ->addCommand (
6059 VersionCommand::class,
61- InitCommand::class,
6260 SchemaCommand::class,
6361 SelfUpdateCommand::class,
6462 GenerateCommand::class,
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace Butschster \ContextGenerator \Console ;
5+ namespace Butschster \ContextGenerator \Template \ Console ;
66
77use Butschster \ContextGenerator \Config \ConfigType ;
88use Butschster \ContextGenerator \Config \Registry \ConfigRegistry ;
9+ use Butschster \ContextGenerator \Console \BaseCommand ;
910use Butschster \ContextGenerator \DirectoriesInterface ;
1011use Butschster \ContextGenerator \Template \Analysis \ProjectAnalysisService ;
1112use Butschster \ContextGenerator \Template \Registry \TemplateRegistry ;
Original file line number Diff line number Diff line change 1212use Butschster \ContextGenerator \Template \Analysis \ProjectAnalysisService ;
1313use Butschster \ContextGenerator \Template \Analysis \Util \ComposerFileReader ;
1414use Butschster \ContextGenerator \Template \Analysis \Util \ProjectStructureDetector ;
15+ use Butschster \ContextGenerator \Template \Console \InitCommand ;
1516use Butschster \ContextGenerator \Template \Console \ListCommand ;
1617use Butschster \ContextGenerator \Template \Definition \ExpressTemplateDefinition ;
1718use Butschster \ContextGenerator \Template \Definition \GenericPhpTemplateDefinition ;
@@ -82,6 +83,7 @@ public function boot(
8283 $ templateRegistry ->registerProvider ($ builtinTemplateProvider );
8384
8485 // Register console commands
86+ $ console ->addCommand (InitCommand::class);
8587 $ console ->addCommand (ListCommand::class);
8688 }
8789}
You can’t perform that action at this time.
0 commit comments