Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrHelp = errors.New("help")
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { PostCode string `short:"p" long:"postcode" description:"The postcode to scrape bin times for" required:"true"` AddressCode string `short:"a" long:"addressCode" description:"The address to scrape bin times for" required:"true"` RegularCollectionDay int `short:"r" long:"regularcollectionday" description:"The regular collection day of the week" required:"true"` FromNumber string `short:"f" long:"fromnumber" required:"true" description:"The number to send the confirmation SMS from"` ToNumber string `short:"n" long:"tonumber" required:"true" description:"The number to send the confirmation SMS to"` DryRun bool `short:"x" long:"dryrun" description:"Run everything, but don't do the booking and assume it succeeds"` TodayDate string `short:"d" long:"todaydate" description:"The date to use for today's date"` }
Click to show internal directories.
Click to hide internal directories.