From 970b9b3754f2798f234f99c54f161acb4931b3b7 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 24 Sep 2025 22:45:46 +0300 Subject: add --stats flag --- internal/config/args.go | 1 + internal/config/config_test.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/config') diff --git a/internal/config/args.go b/internal/config/args.go index d1a23b9..be7353b 100644 --- a/internal/config/args.go +++ b/internal/config/args.go @@ -26,6 +26,7 @@ type Args struct { GemtexterEnable bool GeminiCapsules []string ComposeMode bool + StatsOnly bool } func (a *Args) ParsePlatforms(platformStrs string) error { diff --git a/internal/config/config_test.go b/internal/config/config_test.go index 5aed307..adecc18 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -187,4 +187,4 @@ func TestIsPausedCurrentTime(t *testing.T) { if paused { t.Errorf("Expected not to be paused for past dates, but got true") } -} \ No newline at end of file +} -- cgit v1.2.3