with open('resources/views/home.blade.php', 'r') as f:
    text = f.read()

import re

# find all `agent` and `worker` usages
for i, line in enumerate(text.split('\n')):
    if 'workerConfigs' in line or 'agentConfigs' in line:
        print(f"{i+1}: {line}")
    if 'agentDisplay' in line or 'workerDisplay' in line:
        print(f"{i+1}: {line}")
