barista.go
Function Run
has 58 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func Run(modules ...bar.Module) error {
// Oauth configs are setup by modules when they're created.
// Now that all modules are created, the oauth system knows about all providers.
// So if the 'setup-oauth' arg was given, enter interactive setup instead.
// (InteractiveSetup calls os.Exit, so the rest of the bar will not run).