In your app/start/artisan.php file are you doing:
new CommandClassName
If so, then it's not resolving out of the container, meaning that it won't automatically resolve constructor dependencies.
I've never done this, but it should work..
Artisan::add(App::make('Calebdre\AdminGenerator\Commands\GenerateAdmin'));
Where would i put that? I tried in the boot method in the service provider, but that doesn't do anything.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community