Extract Seed and AppSettings to utils
This commit is contained in:
parent
9be7b102d7
commit
b7780b8862
5 changed files with 43 additions and 35 deletions
10
src/utils/app_settings.rs
Normal file
10
src/utils/app_settings.rs
Normal file
|
@ -0,0 +1,10 @@
|
|||
use clap::Parser;
|
||||
|
||||
use super::Seed;
|
||||
|
||||
#[derive(Parser)]
|
||||
#[command(version, about)]
|
||||
pub struct AppSettings {
|
||||
#[arg(short, long, default_value = "")]
|
||||
pub seed: Seed,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue