MCPcopy Create free account
hub / github.com/chriswalz/bit / RunScriptWithString

Function RunScriptWithString

cmd/util.go:465–471  ·  view source on GitHub ↗
(path string, script string, args ...string)

Source from the content-addressed store, hash-verified

463}
464
465func RunScriptWithString(path string, script string, args ...string) {
466 var err error
467 err = RunInTerminalWithColor("bin/sh", args)
468 if err != nil {
469 log.Debug().Err(err).Send()
470 }
471}
472
473func parseManPage(subCmd string) string {
474 msg, err := exec.Command("/bin/bash", "-c", "git help "+subCmd+" | col -b").CombinedOutput()

Callers

nothing calls this directly

Calls 1

RunInTerminalWithColorFunction · 0.85

Tested by

no test coverage detected