diff --git a/lrx_cli/cli.py b/lrx_cli/cli.py index 63eebac..6955695 100644 --- a/lrx_cli/cli.py +++ b/lrx_cli/cli.py @@ -389,6 +389,14 @@ def stats(): f"{src:<{src_w}} " + " ".join(f"{c:>{w}}" for c, w in zip(counts, col_w)) ) + totals = [ + str(sum(table[src].get(st, 0) for src in sources)) for st in all_statuses + ] + print("-" * src_w + " " + " ".join("-" * w for w in col_w)) + print( + f"{'total':<{src_w}} " + + " ".join(f"{c:>{w}}" for c, w in zip(totals, col_w)) + ) # Confidence distribution (positive entries only) buckets = s.get("confidence_buckets", {}) diff --git a/pyproject.toml b/pyproject.toml index ea32fc9..76e2f84 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "lrx-cli" -version = "0.4.3" +version = "0.4.4" description = "Fetch line-synced lyrics for your music player." readme = "README.md" requires-python = ">=3.13" diff --git a/uv.lock b/uv.lock index 8b80d53..3711ff8 100644 --- a/uv.lock +++ b/uv.lock @@ -153,7 +153,7 @@ wheels = [ [[package]] name = "lrx-cli" -version = "0.4.2" +version = "0.4.3" source = { editable = "." } dependencies = [ { name = "cyclopts" },