Hack together a little weather CLI
author |
Steve Losh <steve@stevelosh.com> |
date |
Sun, 30 Aug 2020 21:13:42 -0400 |
parents |
3a0cb2d4dceb |
children |
(none) |
# request
regexp=(^\* .*)
colours=bright_black
=======
# request
regexp=(^> .*)
colours=bright_black
=======
# response
regexp=(^< .*)
colours=blue
=======
# ok response code
regexp=^< HTTP.+ ([23]...*)
colours=blue, bold green
=======
# error response code
regexp=^< HTTP.+ ([45]...*)
colours=blue, bold red
=======
regexp=.*\[.* bytes data\]
colours=bright_black