refactor: accept cli args only

This commit is contained in:
2024-10-20 00:24:35 -04:00
parent ee0e938782
commit 8723769429
2 changed files with 8 additions and 22 deletions

View File

@@ -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")]