✨ Auto-add related files
This commit is contained in:
parent
901a750ce3
commit
fef167862d
3 changed files with 49 additions and 2 deletions
|
|
@ -20,12 +20,12 @@ class GetShow extends Command
|
|||
|
||||
protected $description = 'Queue a show to re-encode or download';
|
||||
|
||||
public function handle(): int
|
||||
public function handle(ProcessInput $proc): int
|
||||
{
|
||||
$this->line('Options: ' . json_encode($this->options()), verbosity: OutputInterface::VERBOSITY_DEBUG);
|
||||
$input = $this->getInput();
|
||||
$this->line('Input: ' . json_encode($input), verbosity: OutputInterface::VERBOSITY_DEBUG);
|
||||
$job = app()->make(ProcessInput::class)->getJob($input);
|
||||
$job = $proc->getJob($input);
|
||||
$this->line('Job: ' . json_encode($job), verbosity: OutputInterface::VERBOSITY_DEBUG);
|
||||
|
||||
return static::SUCCESS;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue