From ecb88b6d4a44bdaccdb1b83f66b1130fd7d16ea3 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Thu, 25 Mar 2021 11:53:47 +0100 Subject: Add pup HTML parser info --- html.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/html.md b/html.md index b8b7d43..f43659f 100644 --- a/html.md +++ b/html.md @@ -22,3 +22,12 @@ page. To avoid reloading: To check by default: + +## CLI parsing with `pup` + +`pup` is a little command line parser, inspired by `jq`. + + pup --file ' [display function]' + +By default pretty prints the full selected HTML elements. Setting display +function to `text{}` prints out just the inner text. -- cgit v1.2.3