项目初始化

This commit is contained in:
2026-07-02 11:31:16 +08:00
commit eef4c76e3f
64 changed files with 13369 additions and 0 deletions

17
send-wecom.ps1 Normal file
View File

@@ -0,0 +1,17 @@
# Push daily report to WeCom group webhook
param(
[string]$ReportPath
)
$ErrorActionPreference = "Stop"
$Root = Split-Path -Parent $MyInvocation.MyCommand.Path
Set-Location $Root
$python = "python"
$args = @("-m", "daily", "push")
if ($ReportPath) { $args += $ReportPath }
& $python @args
if ($LASTEXITCODE -ne 0) {
throw "daily push failed with exit code $LASTEXITCODE"
}