MCPcopy Create free account
hub / github.com/driangle/taskmd / printFilesToStdout

Function printFilesToStdout

apps/cli/internal/cli/project_init.go:729–739  ·  view source on GitHub ↗
(files []fileToWrite)

Source from the content-addressed store, hash-verified

727}
728
729func printFilesToStdout(files []fileToWrite) error {
730 for i, f := range files {
731 if i > 0 {
732 fmt.Print("\n---\n")
733 fmt.Printf("# %s\n", f.filename)
734 fmt.Print("---\n\n")
735 }
736 fmt.Print(string(f.content))
737 }
738 return nil
739}

Callers 1

runProjectInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected