neverest 0.1.0

CLI to synchronize and backup emails
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! # Account name argument
//!
//! Module dedicated to the account name CLI argument.

use clap::Parser;

/// The optional account name argument parser.
#[derive(Debug, Parser)]
pub struct OptionalAccountNameArg {
    /// The name of the account.
    ///
    /// The account name corresponds to the name of the TOML table
    /// entry at path `accounts.<name>`. If omitted, the account
    /// marked as default will be used.
    #[arg(name = "account_name", value_name = "ACCOUNT")]
    pub name: Option<String>,
}