m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--html.md9
1 files changed, 9 insertions, 0 deletions
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:
<input type='checkbox' checked>
+
+## CLI parsing with `pup`
+
+`pup` is a little command line parser, inspired by `jq`.
+
+ pup --file <file> '<selectors> [display function]'
+
+By default pretty prints the full selected HTML elements. Setting display
+function to `text{}` prints out just the inner text.