working but should scroll emails
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user