gandi-live-dns-rust/src/opts.rs

12 lines
337 B
Rust
Raw Normal View History

use clap::{Parser, ArgEnum};
2021-12-12 03:32:05 -06:00
/// A tool to automatically update DNS entries on Gandi, using it as a dynamic DNS system.
#[derive(Parser, Debug)]
#[clap(author, version, about, long_about = None, name = "gandi-live-dns")]
2021-12-12 03:32:05 -06:00
pub struct Opts {
/// The path to the configuration file.
#[clap(long)]
2021-12-12 03:32:05 -06:00
pub config: Option<String>,
}