1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Move WidgetMaker functionality into /app

This commit is contained in:
Chris Cummer
2019-08-04 21:12:14 -07:00
parent 59429b097d
commit 2ba50f2a73
3 changed files with 4 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"github.com/olebedev/config"
"github.com/wtfutil/wtf/maker"
"github.com/wtfutil/wtf/app"
"github.com/wtfutil/wtf/utils"
)
@@ -18,7 +18,7 @@ func Display(moduleName string, config *config.Config) {
}
func helpFor(moduleName string, config *config.Config) string {
widget := maker.MakeWidget(nil, nil, moduleName, config)
widget := app.MakeWidget(nil, nil, moduleName, config)
result := ""
result += utils.StripColorTags(widget.HelpText())