blob: 6c605b48549e24a128b168765c16eb61a66360ca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
use clap::Parser;
use clap_complete::ArgValueCompleter;
use crate::commands::complete_subscription;
mod implm;
#[derive(Parser, Debug)]
pub(super) struct UpdateCommand {
/// The maximal number of videos to fetch for each subscription.
#[arg(short, long)]
max_backlog: Option<usize>,
/// The subscriptions to update
#[arg(add = ArgValueCompleter::new(complete_subscription))]
subscriptions: Vec<String>,
}
|