Closed jason-curtis closed 5 years ago
own thoughts after using this:
--config-file
is required and kinda long, so it makes the command always pretty bulky to type. It should (a) have a default value and/or (b) be a positional argument and/or (c) a short option -c
. Leaning towards (a) and (c).
golden-hour-tweet
command too, which maybe should drop support for old-style config files since that makes it a little complex to use.This is great! I won't be able to get to this for a couple days, but I'll try to do that soon.
OK, this is probably ready to merge, though it also may be worth squashing first! https://twitter.com/FairhavenSunset has been running off of a pretty recent commit for a while. Could wait till tomorrow when it's run off of the very latest.
Thank you!!!!
supercedes #14 sorry for the gigantic PR...
astral.Location
object up front inmain()
and then passing it around. That was handy.twitter.py
Testing
Not extensive :see_no_evil: ! I've been running the fairhaven camera off of a slightly earlier version of this branch for the last few days. I also ran
tweet.py
and checked that it worked with both and old-style and new-style config file.