Adding format to select between normal, clean and JSON. This needs some refactor

This commit is contained in:
midefos committed 2023-06-13 18:38:32 +02:00
1 parent 9978e1553b
commit 8a3e5783c2
10 files changed
+507 -306

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
use serde::{Deserialize, Serialize};
use structopt::clap::arg_enum;
arg_enum! {
#[derive(Serialize, Deserialize, Debug, PartialEq, Clone, Copy)]
pub enum DataFormat {
Normal,
Clean,
JSON
}
}