This will allow showing only certain lines, without having to aggregate all of them first before presenting to the user (memory in the bastion is quite limited).
It would be similar to | tail and | head, but implementing it on the client side might allow some performance/memory savings.
Note that currently we only allow --latest that gets you the newest logs.
The API implements lines (see https://api-docs.toolforge.org/docs#/Logs/logs_get_tool_logs).