diff options
| author | Jeff Carr <[email protected]> | 2025-10-15 10:40:34 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-15 10:40:34 -0500 |
| commit | a61e2caac0d715fd3f2037cd20442d493e493715 (patch) | |
| tree | ae3120d3f2a96053bfe7d3022f154eb00629e493 /main.go | |
| parent | c7ea7e0a0be0164c5d6b2fa33bb0fc050e1c20c3 (diff) | |
add whatchanged for finger memory
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -9,6 +9,7 @@ import ( "embed" "go.wit.com/lib/gui/prep" + "go.wit.com/lib/gui/shell" "go.wit.com/lib/protobuf/forgepb" "go.wit.com/log" ) @@ -121,6 +122,16 @@ func main() { if argv.Patch != nil { s, err = doPatch() } + + if argv.Whatchanged != nil { + // this might be deprecated by the git devs + // I put it here because of finger memory and it's nice + // for command line completion + r := shell.RunRealtime([]string{"bash", "-c", "git log"}) + s = "git whatchanged is now: todo" + err = r.Error + } + if argv.BuildForge { // attempts to download all the sources // and binaries needed to build forge |
