CmdID

CmdID / Commands

pup

HTML parsing tool. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Transform a raw HTML file into a cleaned, indented, and colored format

cat index.html | pup --colorIdentify

Filter HTML by element tag name

cat index.html | pup 'tag'Identify

Filter HTML by ID

cat index.html | pup 'div#id'Identify

Filter HTML by attribute value

cat index.html | pup 'input[type="text"]'Identify

Print all text from the filtered HTML elements and their children

cat index.html | pup 'div text{}'Identify

Print HTML as JSON

cat index.html | pup 'div json{}'Identify