argument('file')); $data = WatchData::from(['rawData' => [$file->toArray()]]); $resp = $this->app->make(Trakt::class)->syncHistory($data, $this->output); return $resp->ok() ? static::SUCCESS : static::FAILURE; } }