todoist-repeater

Create recurring tasks in Todoist with cron-style syntax
Log | Files | Refs | README

commit e1ffcccebd2a76fb69e3cbba9d17857a94ee61e2
parent 98c6611a757810edfe678a9bfd58ad04b4477441
Author: David Schlachter <t480-debian-git@schlachter.ca>
Date:   Tue, 11 Nov 2025 22:29:20 -0500

Add doc comment for the program

Diffstat:
Mmain.go | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/main.go b/main.go @@ -1,3 +1,16 @@ +// This program creates tasks in Todoist, based on time specificiations in the +// cron format. It takes one argument (the path to the input file) and requires +// that your Todoist developer token be set in the TODOIST_TOKEN environment +// variable. +// +// The input file must be a text file where each line is either empty, a comment +// (starting with #), or a cron specification followed by the name of the task. +// Note that the cron specification must be provided as five whitespace +// separated fields; this program doesn't currently support all the features of +// robfig/cron (e.g. '@monthly'). +// +// The input file is checked for changes each minute, and the program creates +// Todoist tasks when their cron run time occurs. package main import (