cli-selector

Crates.iocli-selector
lib.rscli-selector
version0.2.0
sourcesrc
created_at2022-05-18 07:23:48.715712
updated_at2022-05-28 10:57:05.063037
descriptiona simple cli tool for extracting html tags based on a css selector from html text
homepage
repository
max_upload_size
id588815
size62,698
(ehsan2003)

documentation

README

a simple cli tool for extracting html tags based on a css selector from html text

help

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

sample usage

curl https://test.com | cli-selector "div>a>p"
<p>
    some content
    <span><span>
</p>
Commit count: 0

cargo fmt