mirror of
https://github.com/lov3b/ecb-rates.git
synced 2025-06-28 16:00:23 +02:00
perspective option
This commit is contained in:
@ -33,6 +33,10 @@ pub struct Cli {
|
||||
#[arg(value_enum, long = "sort-by", short = 's', default_value_t = SortBy::Currency)]
|
||||
pub sort_by: SortBy,
|
||||
|
||||
/// Recalculate to the perspective from an included currency
|
||||
#[arg(long = "perspective", short = 'p')]
|
||||
pub perspective: Option<String>,
|
||||
|
||||
/// Amount of data
|
||||
#[arg(value_enum, default_value_t = Resolution::TODAY, long="resolution", short='r')]
|
||||
pub resolution: Resolution,
|
||||
|
Reference in New Issue
Block a user