| Crates.io | cli-selector |
| lib.rs | cli-selector |
| version | 0.2.0 |
| created_at | 2022-05-18 07:23:48.715712+00 |
| updated_at | 2022-05-28 10:57:05.063037+00 |
| description | a simple cli tool for extracting html tags based on a css selector from html text |
| homepage | |
| repository | |
| max_upload_size | |
| id | 588815 |
| size | 62,698 |
a simple cli tool for extracting html tags based on a css selector from html text
cli-selector 0.1.0
a simple cli tool for extracting html tags based on a css selector from html text
USAGE:
cli-selector [OPTIONS] <SELECTOR>
ARGS:
<SELECTOR>
OPTIONS:
-h, --help Print help information
-i, --input <FILE> input file ( specify "-" for stdin ) [default: -]
-n, --inner
-s, --separator <SEPARATOR> separator between matching elements [default: "\n"]
-V, --version Print version information
curl https://test.com | cli-selector "div>a>p"
<p>
some content
<span><span>
</p>