summaryrefslogtreecommitdiff
path: root/internal/config/args.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/config/args.go')
-rw-r--r--internal/config/args.go33
1 files changed, 17 insertions, 16 deletions
diff --git a/internal/config/args.go b/internal/config/args.go
index e2b9dc1..d1a23b9 100644
--- a/internal/config/args.go
+++ b/internal/config/args.go
@@ -9,22 +9,23 @@ import (
)
type Args struct {
- GosDir string
- CacheDir string
- DryRun bool
- Platforms map[string]int // Platform and post size limits
- Target int
- MinQueued int
- MaxDaysQueued int
- PauseDays int
- Lookback time.Duration
- SecretsConfigPath string
- Secrets Secrets
- OAuth2Browser string
- GeminiSummaryFor []string
- GemtexterEnable bool
- GeminiCapsules []string
- ComposeMode bool
+ GosDir string
+ CacheDir string
+ DryRun bool
+ Platforms map[string]int // Platform and post size limits
+ Target int
+ MinQueued int
+ MaxDaysQueued int
+ PauseDays int
+ RunInterval time.Duration
+ Lookback time.Duration
+ ConfigPath string
+ Config Config
+ OAuth2Browser string
+ GeminiSummaryFor []string
+ GemtexterEnable bool
+ GeminiCapsules []string
+ ComposeMode bool
}
func (a *Args) ParsePlatforms(platformStrs string) error {