lnav/test/configs/installed/hw-url-handler.lnav
Tim Stack 9b2a6f323a [misc] add URL handler test
Fix loading of configs from include dirs

Add "config get" and "config blame" management CLI
commands
2023-07-15 21:50:46 -07:00

11 lines
234 B
Plaintext

#
# @synopsis: hw-url-handler
# @description: Hello, World! URL handler
#
;SELECT jget(url, '/host') AS hostname,
jget(url, '/path') AS upath
FROM (SELECT parse_url($1) AS url)
:sh echo "Hello, $upath at $hostname!"