diff options
author | Marcin Chrzanowski <m@m-chrzan.xyz> | 2021-03-25 11:53:47 +0100 |
---|---|---|
committer | Marcin Chrzanowski <m@m-chrzan.xyz> | 2021-03-25 11:53:47 +0100 |
commit | ecb88b6d4a44bdaccdb1b83f66b1130fd7d16ea3 (patch) | |
tree | 0a1b2fa2fcc52e3086bcb211c6b98702b61f4ab9 | |
parent | 7cb4d8944f37362b4579bcc5054e954e6701b49b (diff) |
Add pup HTML parser info
-rw-r--r-- | html.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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. |