mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Add self-validation framework for config
This commit is contained in:
1 parent
b3ad2c3758
commit
2cc467726f
11 files changed
+284
No files matched your search
@@ -18,6 +18,10 @@ pub struct CliArgs {
|
||||
/// User data root
|
||||
#[arg(long, default_value_t = {"../data/robocraft".to_string()})]
|
||||
pub data_robocraft: String,
|
||||
|
||||
/// Verify configuration and then exit
|
||||
#[arg(long)]
|
||||
pub validate: bool,
|
||||
}
|
||||
|
||||
impl CliArgs {
|
||||
|
||||
Reference in new issue
Block a user