diff options
| author | Paul Buetow <paul@buetow.org> | 2024-12-31 18:24:03 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-12-31 18:24:03 +0200 |
| commit | ec523bdd63bd23cfec465e2cc45d0c17198ef4c4 (patch) | |
| tree | 38e29cdf9030f615dc6753d07e1601bfb3a26ce7 /cmd | |
| parent | e40995f28834ffffdea5343b1526a85c7268d202 (diff) | |
refine summary, add gemtexter tags
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/gos/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/gos/main.go b/cmd/gos/main.go index 8c286ff..c8e94e8 100644 --- a/cmd/gos/main.go +++ b/cmd/gos/main.go @@ -31,6 +31,7 @@ func main() { pauseDays := flag.Int("pauseDays", 3, "How many days until next post can be posted?") lookback := flag.Int("lookback", 30, "How many days look back in time for posting history") summaryFor := flag.String("summaryFor", "", "Generate a summary in Gemtext format, format is coma separated string of months, e.g. 202410,202411") + gemtexterEnable := flag.Bool("gemtexterEnable", true, "Add special Gemtexter tags to the Gemtext summary") flag.Parse() secrets, err := config.NewSecrets(secretsConfigPath) @@ -50,6 +51,7 @@ func main() { CacheDir: *cacheDir, Secrets: secrets, OAuth2Browser: *browser, + GemtexterEnable: *gemtexterEnable, } if *summaryFor != "" { args.SummaryFor = strings.Split(*summaryFor, ",") |
