replace flag globals, require context for commands #291

Merged
6543 merged 11 commits from noerw/tea:refactor-global-flags into master 2020-12-15 17:38:23 +00:00
Showing only changes of commit a60fd06a57 - Show all commits

View File

@ -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