mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-11 00:38:49 +00:00
Add vault stats command and API endpoint
This commit is contained in:
@@ -368,6 +368,14 @@ def vault_lock(ctx: typer.Context) -> None:
|
||||
typer.echo("locked")
|
||||
|
||||
|
||||
@vault_app.command("stats")
|
||||
def vault_stats(ctx: typer.Context) -> None:
|
||||
"""Display statistics about the current seed profile."""
|
||||
pm = _get_pm(ctx)
|
||||
stats = pm.get_profile_stats()
|
||||
typer.echo(json.dumps(stats, indent=2))
|
||||
|
||||
|
||||
@vault_app.command("reveal-parent-seed")
|
||||
def vault_reveal_parent_seed(
|
||||
ctx: typer.Context,
|
||||
|
Reference in New Issue
Block a user