Toml読み込み機能実装

This commit is contained in:
akiranishikawa
2020-10-10 09:59:08 +09:00
parent 22edee0332
commit f2f3a7e99a
8 changed files with 110 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ use evtx::EvtxParser;
use quick_xml::de::DeError;
use std::{path::PathBuf, process};
use yamato_event_analyzer::detections::detection;
use yamato_event_analyzer::toml;
fn build_app() -> clap::App<'static, 'static> {
let program = std::env::args()
@@ -58,3 +59,4 @@ fn parse_file(filepath: &str) {
let mut detection = detection::Detection::new();
&detection.start(parser);
}