stub wip fidelity

This commit is contained in:
Bel LaPointe
2022-12-09 08:52:36 -07:00
parent 1139fef0ab
commit f6fc366dd4
6 changed files with 103 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ type Config struct {
EmailUser string
EmailPass string
EmailIMAP string
EmailLimit int
TodoAddr string
TodoToken string
TodoList string
@@ -49,6 +50,7 @@ func NewConfig() Config {
as.Append(args.STRING, "emailuser", "email username", "breellocaldev@gmail.com")
as.Append(args.STRING, "emailpass", "email password", "diblloewfncwssof")
as.Append(args.STRING, "emailimap", "email imap", "imap.gmail.com:993")
as.Append(args.INT, "emaillimit", "email limit", 0)
as.Append(args.STRING, "uploader", "todo, ledger, pttodo", "todo")
@@ -87,6 +89,7 @@ func NewConfig() Config {
EmailUser: as.GetString("emailuser"),
EmailPass: as.GetString("emailpass"),
EmailIMAP: as.GetString("emailimap"),
EmailLimit: as.GetInt("emaillimit"),
TodoAddr: as.GetString("todoaddr"),
TodoTag: as.GetString("todotag"),
AccountsPattern: as.GetString("accounts"),