import serde + little fixes

pull/15/head
prplV 2024-12-10 14:10:04 +03:00
parent 5bba6e8b82
commit 1c6729daab
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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)",