paperoni/src/cli.rs

14 lines
341 B
Rust
Raw Normal View History

2020-05-16 08:09:44 +01:00
use structopt::StructOpt;
#[derive(Debug, StructOpt)]
#[structopt(name = "paperoni")]
/// Paperoni is an article downloader.
///
/// It takes a url and downloads the article content from it and
/// saves it to an epub.
pub struct Opts {
// #[structopt(conflicts_with("links"))]
/// Url of a web article
pub urls: Vec<String>,
2020-05-16 08:09:44 +01:00
}