This commit is contained in:
2026-07-03 19:10:57 +03:00
parent 6537c41972
commit 14c0009030
7 changed files with 60 additions and 5 deletions

View File

@@ -1,7 +1,24 @@
/*
* Copyright (c) 2026 MCorange.
* All rights reserved.
*
* Unauthorized copying, modification, distribution, or use of this
* software, in whole or in part, is prohibited without prior written
* permission.
*/
use clap::ArgGroup;
use serde::de;
#[derive(Debug, Clone, clap::Parser, Default)]
#[command(
author = env!("CARGO_PKG_AUTHORS"),
version,
after_help = concat!(
"Made by: ", env!("CARGO_PKG_AUTHORS"), "\n",
"All Rights Reserved"
)
)]
pub struct CliArgs {
/// Configuration file path
#[arg(long = "config", short = 'C', default_value = "./config.toml")]