spider_cli 1.31.7

The fastest web crawler CLI written in Rust.
use clap::Subcommand;

#[derive(Subcommand)]
pub enum Commands {
    /// crawl the website extracting links.
    CRAWL {
        /// sequentially one by one crawl pages
        #[clap(short, long)]
        sync: bool,
        /// stdout all links crawled
        #[clap(short, long)]
        output_links: bool,
    },
    /// scrape the website extracting html and links.
    SCRAPE {
        /// stdout all pages links crawled
        #[clap(short, long)]
        output_links: bool,
        /// stdout all pages html crawled
        #[clap(long)]
        output_html: bool,
    },
}