<?php
$file = dirname(__DIR__) . '/api/production-lines.php';
if (!file_exists($file)) {
    echo "File not found: $file\n";
    exit;
}

$lines = file($file);
foreach ($lines as $i => $line) {
    if (strpos($line, 'product_details') !== false) {
        printf("%d: %s", $i + 1, $line);
    }
}
