WebHost: add stats show cli command (#5995)

Usage: flask -A "WebHost:get_app()" stats show

Currently only shows sum and top10 biggest games packages.
This commit is contained in:
black-sliver
2026-03-10 18:57:04 +00:00
committed by GitHub
parent f00d29e072
commit 3235863f2e
3 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
from flask import Flask
class CLI:
def __init__(self, app: Flask) -> None:
from .stats import stats_cli
app.cli.add_command(stats_cli)