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
+2
-1
@@ -1,8 +1,9 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
use structopt::clap::arg_enum;
|
||||
|
||||
arg_enum! {
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, Copy)]
|
||||
pub enum TempUnit {
|
||||
Celsius,
|
||||
Fahrenheit
|
||||
|
||||
Reference in new issue
Block a user