MCPcopy Index your code
hub / github.com/livebud/bud / command

Method command

internal/cli/cli.go:478–486  ·  view source on GitHub ↗
(dir string, name string, args ...string)

Source from the content-addressed store, hash-verified

476}
477
478func (c *CLI) command(dir string, name string, args ...string) *exec.Cmd {
479 cmd := exec.Command(name, args...)
480 cmd.Dir = dir
481 cmd.Env = append([]string{}, c.Env...)
482 cmd.Stdin = c.Stdin
483 cmd.Stdout = c.Stdout
484 cmd.Stderr = c.Stderr
485 return cmd
486}
487
488func (c *CLI) startAFS(ctx context.Context, flag *framework.Flag, module *gomod.Module, afsFile *os.File, devLn net.Listener) (*shell.Process, error) {
489 if c.afsProcess != nil {

Callers 4

startAFSMethod · 0.95
startAppMethod · 0.95
GenerateMethod · 0.95
CreateMethod · 0.95

Calls 1

CommandMethod · 0.65

Tested by

no test coverage detected