klirr 0.2.12

Zero-maintenance and smart FOSS generating beautiful invoices for services and expenses.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use clap::Args;

use getset::Getters;

/// Record a new period off for the specified period.
#[derive(Debug, Args, Getters, PartialEq)]
pub struct PeriodOffInput {
    /// The period to be added if not already present in the data directory.
    #[arg(
        long,
        short = 'p',
        default_value = None,
        help = "The period for which you wanna record a period off, e.g. `2025-05`."
    )]
    #[getset(get = "pub")]
    period: String,
}