*
* @var string
*/
- protected $signature = 'chatlib:generate {which=de} {amount=50}';
+ protected $signature = 'chatlib:generate {which=de} {amount=50} {context?}';
/**
* The console command description.
$amount = intval($this->argument('amount'));
for ($i = 0; $i < $amount; ++$i) {
- $this->line($db->generate());
+ $this->line($db->generate($this->argument('context')));
}
return 0;