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"
)
// TeaContext contains all context derived during command initalization.
// and wraps cli.Context
// TeaContext contains all context derived during command initialization and wraps cli.Context
type TeaContext struct {
*cli.Context
Login *Login