s/CmdArgs/Context/g

This commit is contained in:
2021-03-16 19:23:50 -05:00
parent 88d7d7a0b4
commit 57983b5a52
12 changed files with 93 additions and 93 deletions

View File

@ -24,10 +24,10 @@ func NewCmdShow() Command {
}
}
func ShowCmd(args CmdArgs) (int, error) {
func ShowCmd(ctx Context) (int, error) {
var indent int
c := args.Client
selector := args.Flags.String("selector")
c := ctx.Client
selector := ctx.Flags.String("selector")
lights, err := c.ListLights(selector)
if err != nil {