Refactored project to use Builder pattern.
This commit is contained in:
@@ -20,7 +20,12 @@ use pages::{
|
||||
#[derive(Parser)]
|
||||
#[command(name = "aindustries-be", version, about = "This is the amazing webserver for aindustries.be!", long_about = None)]
|
||||
struct Cli {
|
||||
#[arg(short, long, value_name = "CONFIG", help = "Path to config file, defaults to /etc/aindustries-be/config.toml")]
|
||||
#[arg(
|
||||
short,
|
||||
long,
|
||||
value_name = "CONFIG",
|
||||
help = "Path to config file, defaults to /etc/aindustries-be/config.toml"
|
||||
)]
|
||||
config: Option<String>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user