working but should scroll emails

This commit is contained in:
bel
2020-04-02 23:23:53 +00:00
parent dac2114af0
commit c4cf4dfbd6
3 changed files with 14 additions and 15 deletions

View File

@@ -16,6 +16,7 @@ type Config struct {
TodoAddr string
TodoToken string
TodoList string
TodoTag string
Storage storage.DB
}
@@ -31,6 +32,7 @@ func NewConfig() Config {
as.Append(args.STRING, "todopass", "todo pass", "gJtEXbbLHLf54yS9EdujtVN2n6Y")
as.Append(args.STRING, "todotoken", "todo token", "")
as.Append(args.STRING, "todolist", "todo list", "")
as.Append(args.STRING, "todotag", "todo tag", "expense")
as.Append(args.STRING, "authaddr", "auth addr", "https://auth.remote.blapointe.com")
as.Append(args.STRING, "store", "store type", "map")
@@ -100,6 +102,7 @@ func NewConfig() Config {
TodoAddr: as.GetString("todoaddr"),
TodoToken: token,
TodoList: list,
TodoTag: as.GetString("todotag"),
Storage: storage,
}
return config