X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FConsole%2FCommands%2FChatlibGenerate.php;h=caa223d51495323e446246c871a3139d0bc825c6;hb=1dea58cb6fa9cf28966e75c1e1af87f67e6c0fd1;hp=04c9e41b63a07887d4f7b78a753807995f2415d5;hpb=5df7f3ed455c56370b3c4b690b0ca47b183fa829;p=alttp.git diff --git a/app/Console/Commands/ChatlibGenerate.php b/app/Console/Commands/ChatlibGenerate.php index 04c9e41..caa223d 100644 --- a/app/Console/Commands/ChatlibGenerate.php +++ b/app/Console/Commands/ChatlibGenerate.php @@ -12,7 +12,7 @@ class ChatlibGenerate extends Command { * * @var string */ - protected $signature = 'chatlib:generate {which=de} {amount=50}'; + protected $signature = 'chatlib:generate {which=de} {amount=50} {context?}'; /** * The console command description. @@ -39,7 +39,7 @@ class ChatlibGenerate extends Command { $amount = intval($this->argument('amount')); for ($i = 0; $i < $amount; ++$i) { - $this->line($db->generate()); + $this->line($db->generate($this->argument('context'))); } return 0;