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

@ -13,7 +13,7 @@ const (
ExitFailure
)
type CmdArgs struct {
type Context struct {
Flags Flags
Args []string
Client *lifx.Client
@ -27,7 +27,7 @@ type Flags struct {
type Command struct {
Name string
Func func(CmdArgs) (int, error)
Func func(Context) (int, error)
Flags *flag.FlagSet
Use string
Short string