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