dnsi 0.2.0

A tool for investigating the DNS.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Global configuration.

use super::commands::Command;
use super::error::Error;

#[derive(Clone, Debug, clap::Parser)]
#[command(version, disable_help_subcommand = true)]
pub struct Args {
    #[command(subcommand)]
    command: Command,
}

impl Args {
    pub fn execute(self) -> Result<(), Error> {
        self.command.execute()
    }
}