pass the Config struct to the commands

This commit is contained in:
2020-03-28 23:47:42 -05:00
parent 968b098344
commit 6b033f10de
2 changed files with 8 additions and 5 deletions

View File

@ -8,9 +8,15 @@ import (
"git.kill0.net/chill9/lume"
)
type Config struct {
AccessToken string
Colors map[string]string `toml:"colors"`
}
type CmdArgs struct {
Flags Flags
Client *lifx.Client
Config Config
}
type Flags struct {