Adding format to select between normal, clean and JSON. This needs some refactor
This commit is contained in:
1 parent
9978e1553b
commit
8a3e5783c2
10 files changed
+507
-306
No files matched your search
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user