mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Closes #43. Add CommandRunner module to the app.
CommandRunner allows you to define a terminal command and arguments, run it on a schedule, and view the output. Examples: ping -3 cisco.com
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
package github
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/gdamore/tcell"
|
||||
"github.com/olebedev/config"
|
||||
"github.com/rivo/tview"
|
||||
@@ -56,8 +54,8 @@ func (widget *Widget) Refresh() {
|
||||
|
||||
widget.Data = widget.buildRepoCollection(Config.UMap("wtf.mods.github.repositories"))
|
||||
|
||||
widget.UpdateRefreshedAt()
|
||||
widget.display()
|
||||
widget.RefreshedAt = time.Now()
|
||||
}
|
||||
|
||||
func (widget *Widget) Next() {
|
||||
|
||||
Reference in New Issue
Block a user