gandi-live-dns-rust/src/opts.rs
Kaan Barmore-Genç 661dfc55fd
Use a single threaded setup & allow configurable TTL (#21)
* use a single threaded executor

* add configurable TTL support
2022-06-09 21:29:02 -04:00

12 lines
326 B
Rust

use clap::Parser;
/// 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")]
pub struct Opts {
/// The path to the configuration file.
#[clap(long)]
pub config: Option<String>,
}