Add profile file parser

This commit is contained in:
2023-06-02 09:33:25 +02:00
parent 2b0d1a5bd9
commit 8902a47903
4 changed files with 156 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ use serde::Serialize;
use crate::model::onkostar_editor::OnkostarEditor;
mod model;
mod profile;
#[derive(Parser)]
#[command(author, version, about, long_about = None)]
@@ -45,6 +46,11 @@ struct Cli {
help = "Eingabedatei"
)]
input: String,
#[arg(
long = "profile",
help = "Profildatei (Optional)"
)]
profile: Option<String>,
#[arg(
long = "output",
help = "Ausgabedatei (Optional)"