feat: v1.0.0, opt cli
This commit is contained in:
@@ -138,7 +138,7 @@ async fn do_read(_arg_matches: &ArgMatches<'_>, sub_arg_matches: &ArgMatches<'_>
|
||||
return simple_error!("Require key");
|
||||
};
|
||||
let data = do_inner_request(sub_arg_matches, "read", &body).await?;
|
||||
success!("Value: {}", serde_json::to_string_pretty(&data)?);
|
||||
println!("{}", serde_json::to_string_pretty(&data)?);
|
||||
Ok(Some(0))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user