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
|
2020-10-22 13:22:56 +01:00
|
|
|
pub urls: Vec<String>,
|
2020-05-16 08:09:44 +01:00
|
|
|
}
|