Closed MartinKolarik closed 5 months ago
Since we're already dealing with storing history, I'd be cool to expand on that a little and allow looking up previous commands and results. E.g.:
$ globalping history 1 | 2024-01-19 17:57:00 | ping cdn.jsdelivr.net from Germany > https://www.jsdelivr.com/globalping?measurement=xrfXUEAOGfzwfHFx 2 | 2024-01-19 17:57:10 | ping cdn.jsdelivr.net from Poland > https://www.jsdelivr.com/globalping?measurement=xrfXUEAOGfzwfHFy - | 2024-01-19 17:57:10 | ping cdn.jsdelivr.net from previous > https://www.jsdelivr.com/globalping?measurement=xrfXUEAOGfzwfHFy 3 | 2024-01-19 17:57:20 | ping cdn.jsdelivr.net from CZ > https://www.jsdelivr.com/globalping?measurement=xrfXUEAOGfzwfHFz 4 | 2024-01-19 17:57:20 | ping cdn.jsdelivr.net from CZ --infinite > https://www.jsdelivr.com/globalping?measurement=xrfXUEAOGfzwfHFz+xrfXUEAOGfzwfHFz
Since we're already dealing with storing history, I'd be cool to expand on that a little and allow looking up previous commands and results. E.g.: