i tried to install this tool, but it does not work.
$ go get github.com/sachaos/todoist
# github.com/sachaos/todoist
go/src/github.com/sachaos/todoist/close.go:14:16: cannot range over c.Args() (type cli.Args)
go/src/github.com/sachaos/todoist/completed.go:30:6: c.GlobalBool undefined (type *cli.Context has no field or method GlobalBool)
go/src/github.com/sachaos/todoist/delete.go:13:16: cannot range over c.Args() (type cli.Args)
go/src/github.com/sachaos/todoist/format.go:50:6: c.GlobalBool undefined (type *cli.Context has no field or method GlobalBool)
go/src/github.com/sachaos/todoist/format.go:53:6: c.GlobalBool undefined (type *cli.Context has no field or method GlobalBool)
go/src/github.com/sachaos/todoist/format.go:99:6: c.GlobalBool undefined (type *cli.Context has no field or method GlobalBool)
go/src/github.com/sachaos/todoist/labels.go:18:6: c.GlobalBool undefined (type *cli.Context has no field or method GlobalBool)
go/src/github.com/sachaos/todoist/list.go:62:6: c.GlobalBool undefined (type *cli.Context has no field or method GlobalBool)
go/src/github.com/sachaos/todoist/main.go:85:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in array or slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/sachaos/todoist/main.go:89:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in array or slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/sachaos/todoist/main.go:89:15: too many errors
I reproduced it in docker with ubuntu:19:10 image. It's strange because when I cloned the repo and run go build it works. It looks like the problem is with go get.
Hey there,
i tried to install this tool, but it does not work.
What am I doing wrong?
Thanks MAW