Cleanup
This commit is contained in:
@@ -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")]
|
||||
|
||||
Reference in New Issue
Block a user