Add edit options for key/value entries

This commit is contained in:
thePR0M3TH3AN committed 2025-07-30 16:51:53 -04:00
1 parent c15776e37e
commit 627d69cf30
5 files changed
+12 -5

No files matched your search

+2
View File
@@ -354,6 +354,7 @@ def entry_modify(
None, "--period", help="TOTP period in seconds"
),
digits: Optional[int] = typer.Option(None, "--digits", help="TOTP digits"),
key: Optional[str] = typer.Option(None, "--key", help="New key"),
value: Optional[str] = typer.Option(None, "--value", help="New value"),
) -> None:
"""Modify an existing entry."""
@@ -367,6 +368,7 @@ def entry_modify(
label=label,
period=period,
digits=digits,
key=key,
value=value,
)
except ValueError as e: