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

Function printInitSummary

apps/cli/internal/cli/project_init.go:713–727  ·  view source on GitHub ↗

printInitSummary prints the list of created files and next steps.

(createdPaths []string)

Source from the content-addressed store, hash-verified

711
712// printInitSummary prints the list of created files and next steps.
713func printInitSummary(createdPaths []string) {
714 if len(createdPaths) == 0 {
715 fmt.Fprintln(os.Stderr, "Nothing to create (everything already exists).")
716 return
717 }
718
719 fmt.Println("\nCreated:")
720 for _, p := range createdPaths {
721 fmt.Printf(" %s\n", p)
722 }
723 fmt.Println("\nYou're ready! Try:")
724 fmt.Println(" taskmd add \"My first task\"")
725 fmt.Println(" taskmd list")
726 fmt.Println(" taskmd web start --open")
727}
728
729func printFilesToStdout(files []fileToWrite) error {
730 for i, f := range files {

Callers 1

writeProjectFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected