forked from danmax/r34-scraper
refactor: accept cli args only
This commit is contained in:
@@ -11,8 +11,8 @@ pub struct Args {
|
||||
pub user_agent: String,
|
||||
|
||||
/// Tags to search for
|
||||
#[arg(short, long)]
|
||||
pub tags: Option<Vec<String>>,
|
||||
#[arg(short, long, required = true)]
|
||||
pub tags: Vec<String>,
|
||||
|
||||
/// Async jobs to use for fetching
|
||||
#[arg(short, long, default_value = "4")]
|
||||
|
Reference in New Issue
Block a user