split up modules into subfiles

This commit is contained in:
Schrottkatze 2024-01-12 09:36:30 +01:00
commit 96374b6491
Signed by: schrottkatze
GPG key ID: DFD0FD205943C14A
5 changed files with 140 additions and 151 deletions

12
crates/app/src/cli.rs Normal file
View file

@ -0,0 +1,12 @@
use std::path::PathBuf;
use clap::Parser;
#[derive(Parser)]
pub(crate) struct Args {
/// Read this config file.
#[arg(short, long)]
pub config_file: Option<PathBuf>,
#[arg(long, env = "NO_STARTUP_MESSAGE", default_value = "false")]
pub no_startup_message: bool,
}