replace flag globals, require context for commands #291
|
@ -19,8 +19,7 @@ import (
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TeaContext contains all context derived during command initalization.
|
// TeaContext contains all context derived during command initialization and wraps cli.Context
|
||||||
// and wraps cli.Context
|
|
||||||
type TeaContext struct {
|
type TeaContext struct {
|
||||||
*cli.Context
|
*cli.Context
|
||||||
Login *Login
|
Login *Login
|
||||||
|
|
Loading…
Reference in New Issue
Block a user