diff options
Diffstat (limited to '')
-rw-r--r-- | test/configs/installed/hw-url-handler.lnav | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/configs/installed/hw-url-handler.lnav b/test/configs/installed/hw-url-handler.lnav new file mode 100644 index 0000000..dcf9ec1 --- /dev/null +++ b/test/configs/installed/hw-url-handler.lnav @@ -0,0 +1,10 @@ +# +# @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!" |