Commit Graph

3 Commits

Author SHA1 Message Date
Zorchenhimer 9e8008f090
Allow specifying a time to count down to
The input for this is dumb AF, but it "works".  Added flags are:
-target-year
-target-month
-target-day
-target-hour
-target-minute
-target-second

These flags all take a number, and default to the current time if
omitted.
2021-02-28 21:59:06 -05:00
Zorchenhimer 5c31d22c11
Some polish, i guess
- Add a format string that uses text.Template.  It's complex AF but it
  works really nicely.
- Add a bunch of command line arguments to control the behaviour of the
  countdown:
    - Countdown duration
    - Output format
    - Output filename
    - Text to write when done
- Fix countdown not starting until ~2 seconds after start.
- Replace unhelpful start up text with something a bit more useful
  (parsed duration and output file name).
2021-02-28 20:55:52 -05:00
Zorchenhimer 5893b1fa3d
Initial commit
"Works", but needs LOTS of polish.  And some over engineering.
2021-02-28 00:35:02 -05:00