implement export-trackers argument option

This commit is contained in:
yggverse 2025-07-07 17:30:32 +03:00
parent f4425557ee
commit 113dd9ac09
4 changed files with 23 additions and 5 deletions

View file

@ -45,6 +45,10 @@ pub struct Config {
#[arg(long)]
pub export_rss_description: Option<String>,
/// Appends `--tracker` value to magnets and torrents
#[arg(long, default_value_t = false)]
pub export_trackers: bool,
/// Enable DHT resolver
#[arg(long, default_value_t = false)]
pub enable_dht: bool,