diff options
| author | David Schlachter <t480-debian-git@schlachter.ca> | 2025-11-11 22:29:20 -0500 |
|---|---|---|
| committer | David Schlachter <t480-debian-git@schlachter.ca> | 2025-11-11 22:29:20 -0500 |
| commit | e1ffcccebd2a76fb69e3cbba9d17857a94ee61e2 (patch) | |
| tree | 748934273b930808a9fedd69c30b8ceef1482773 | |
| parent | 98c6611a757810edfe678a9bfd58ad04b4477441 (diff) | |
Add doc comment for the program
| -rw-r--r-- | main.go | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 ( |
