remove dead code
This commit is contained in:
parent
1b054466cf
commit
8b2a67b73b
@ -9,9 +9,8 @@ import (
|
||||
)
|
||||
|
||||
type CmdArgs struct {
|
||||
Flags Flags
|
||||
Client *lifx.Client
|
||||
Selector string
|
||||
Flags Flags
|
||||
Client *lifx.Client
|
||||
}
|
||||
|
||||
type Flags struct {
|
||||
|
@ -18,10 +18,6 @@ type Config struct {
|
||||
}
|
||||
|
||||
func main() {
|
||||
var (
|
||||
selector string
|
||||
)
|
||||
|
||||
var config Config
|
||||
homeDir, err := os.UserHomeDir()
|
||||
_, err = toml.DecodeFile(path.Join(homeDir, lumercFile), &config)
|
||||
@ -41,8 +37,7 @@ func main() {
|
||||
c := lifx.NewClient(config.AccessToken)
|
||||
|
||||
cmdArgs := lumecmd.CmdArgs{
|
||||
Client: c,
|
||||
Selector: selector,
|
||||
Client: c,
|
||||
}
|
||||
|
||||
cmd, ok := lumecmd.GetCommand(command)
|
||||
|
Loading…
Reference in New Issue
Block a user