mirror of
https://github.com/SeriousBug/gandi-live-dns-rust
synced 2024-05-17 02:39:03 -05:00
15 lines
410 B
Rust
15 lines
410 B
Rust
use structopt::StructOpt;
|
|
|
|
/// A tool to automatically update DNS entries on Gandi, using it as a dynamic DNS system.
|
|
#[derive(StructOpt, Debug)]
|
|
#[structopt(name = "gandi-live-dns")]
|
|
pub struct Opts {
|
|
/// The path to the configuration file.
|
|
#[structopt(long)]
|
|
pub config: Option<String>,
|
|
|
|
/// If set, it will only update the DNS once then exit.
|
|
#[structopt(long)]
|
|
pub oneshot: bool,
|
|
}
|