for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Cerbero\ConsoleTasker\Console\Commands;
use Cerbero\ConsoleTasker\Console\Tasks\CreateCommand;
use Cerbero\ConsoleTasker\Console\Tasks\CreateCommandTasks;
use Cerbero\ConsoleTasker\Traits\RunsTasks;
use Illuminate\Console\Command;
/**
* The Artisan command to generate console taskers.
*
*/
class MakeConsoleTaskerCommand extends Command
{
use RunsTasks;
* The name and signature of the console command.
* @var string
protected $signature = 'make:console-tasker
{name : The name of the command}
{--c|command=command:name : The terminal command that should be assigned}
{--t|tasks= : Comma-separated list of tasks to generate}';
* The console command description.
protected $description = 'Create a new console tasker';
* Execute the console command.
* @return void
public function handle()
$this->runTasks([
CreateCommand::class,
CreateCommandTasks::class,
]);
}