diff options
| author | Paul Buetow <paul@buetow.org> | 2025-03-04 20:42:41 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-03-04 20:42:41 +0200 |
| commit | 59889dba189c3762f0fe3734d18ad88f4ada59a3 (patch) | |
| tree | 5fea2c891868690ba1e9e1773c2435859ddb6542 | |
| parent | 5d8a9590f1318f3caa9decad6957ffbb3332f2cf (diff) | |
last changes for v1.0.0 release
| -rw-r--r-- | internal/main.go | 4 | ||||
| -rw-r--r-- | internal/version.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/internal/main.go b/internal/main.go index f4b25dd..d97080c 100644 --- a/internal/main.go +++ b/internal/main.go @@ -27,7 +27,7 @@ func Main(composeModeDefault bool) { minQueued := flag.Int("minQueued", 4, "Minimum of queued items until printing a warn message!") maxDaysQueued := flag.Int("maxDaysQueued", 365, "Maximum days worth of queued posts until target++ and pauseDays--") pauseDays := flag.Int("pauseDays", 3, "How many days until next post can be posted?") - runIntervalHours := flag.Int("runInterval", 12, "How many hours to wait for the next run.") + runInterval := flag.Int("runInterval", 12, "How many hours to wait for the next run.") lookback := flag.Int("lookback", 30, "How many days look back in time for posting history") geminiSummaryFor := flag.String("geminiSummaryFor", "", "Generate a summary in Gemini Gemtext format, format is coma separated string of months, e.g. 202410,202411") geminiCapsules := flag.String("geminiCapsules", "foo.zone", "Comma sepaeated list Gemini capsules. Used by geminiEnable to detect Gemtext links") @@ -56,7 +56,7 @@ func Main(composeModeDefault bool) { MinQueued: *minQueued, MaxDaysQueued: *maxDaysQueued, PauseDays: *pauseDays, - RunInterval: time.Duration(*runIntervalHours) * time.Hour, // TODO: Document + RunInterval: time.Duration(*runInterval) * time.Hour, // TODO: Document Lookback: time.Duration(*lookback) * time.Hour * 24, ConfigPath: configPath, Config: conf, diff --git a/internal/version.go b/internal/version.go index f85ab9f..ba7c4cb 100644 --- a/internal/version.go +++ b/internal/version.go @@ -4,7 +4,7 @@ import ( "codeberg.org/snonux/gos/internal/table" ) -const versionStr = "v0.0.4" +const versionStr = "v1.0.0" func printVersion() { table.New(). |
