From 4028607cb5ba0baaf6671d65fa46d433aba554a7 Mon Sep 17 00:00:00 2001
From: Awiteb
Date: Sat, 17 Aug 2024 14:52:14 +0000
Subject: [PATCH] feat: Support entering custom keys value via STDIN
This for adding new key, and editing keys (Change the key value)
Fixes: https://git.4rs.nl/awiteb/lprs/issues/56
Signed-off-by: Awiteb
---
src/cli/add_command.rs | 20 ++++++++++++--------
src/cli/edit_command.rs | 24 ++++++++++++++++--------
2 files changed, 28 insertions(+), 16 deletions(-)
diff --git a/src/cli/add_command.rs b/src/cli/add_command.rs
index 1b02d0e..1fdaa8f 100644
--- a/src/cli/add_command.rs
+++ b/src/cli/add_command.rs
@@ -39,9 +39,11 @@ pub struct Add {
#[allow(clippy::option_option)]
totp_secret: Option