mirror of
https://github.com/taigrr/wtf
synced 2026-03-26 00:22:21 -07:00
Add circleci module
Needs a Circle API token, which can be found at https://circleci.com/account/api. This is passed under the environmental variable WTF_CIRCLE_API_KEY.
This commit is contained in:
4
wtf.go
4
wtf.go
@@ -13,6 +13,7 @@ import (
|
||||
"github.com/senorprogrammer/wtf/bamboohr"
|
||||
"github.com/senorprogrammer/wtf/bargraph"
|
||||
"github.com/senorprogrammer/wtf/cfg"
|
||||
"github.com/senorprogrammer/wtf/circleci"
|
||||
"github.com/senorprogrammer/wtf/clocks"
|
||||
"github.com/senorprogrammer/wtf/cmdrunner"
|
||||
"github.com/senorprogrammer/wtf/cryptoexchanges/bittrex"
|
||||
@@ -175,6 +176,8 @@ func addWidget(app *tview.Application, pages *tview.Pages, widgetName string) {
|
||||
Widgets = append(Widgets, bargraph.NewWidget())
|
||||
case "bittrex":
|
||||
Widgets = append(Widgets, bittrex.NewWidget())
|
||||
case "circleci":
|
||||
Widgets = append(Widgets, circleci.NewWidget())
|
||||
case "clocks":
|
||||
Widgets = append(Widgets, clocks.NewWidget())
|
||||
case "cmdrunner":
|
||||
@@ -224,6 +227,7 @@ func makeWidgets(app *tview.Application, pages *tview.Pages) {
|
||||
bamboohr.Config = Config
|
||||
bargraph.Config = Config
|
||||
bittrex.Config = Config
|
||||
circleci.Config = Config
|
||||
clocks.Config = Config
|
||||
cmdrunner.Config = Config
|
||||
cryptolive.Config = Config
|
||||
|
||||
Reference in New Issue
Block a user