import serde + little fixes
parent
5bba6e8b82
commit
1c6729daab
|
|
@ -5,3 +5,5 @@ edition = "2021"
|
|||
|
||||
[dependencies]
|
||||
clap = { version = "4.5.22", features = ["derive"] }
|
||||
serde = { version = "1.0.215", features = ["derive"] }
|
||||
serde_json = "1.0.133"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
use std::string;
|
||||
|
||||
use clap::{Parser, Subcommand};
|
||||
|
||||
#[derive(Debug, Parser)]
|
||||
|
|
@ -84,7 +82,7 @@ pub struct LocalConfig {
|
|||
action,
|
||||
help = "to read following input as JSON",
|
||||
)]
|
||||
type_of_entry : bool,
|
||||
is_json : bool,
|
||||
// value
|
||||
#[arg(
|
||||
help = "path to config file or config String (with --json flag)",
|
||||
|
|
|
|||
Loading…
Reference in New Issue