(cfg *Config, w io.Writer, markdown bool)
| 60 | } |
| 61 | |
| 62 | func printReadme(cfg *Config, w io.Writer, markdown bool) error { |
| 63 | if cfg.Description() == "" { |
| 64 | return nil |
| 65 | } |
| 66 | _, err := fmt.Fprintf( |
| 67 | w, |
| 68 | "%s%s NOTES:\n%s\n\n", |
| 69 | lo.Ternary(markdown, "### ", ""), |
| 70 | cfg.Name, |
| 71 | cfg.Description(), |
| 72 | ) |
| 73 | return errors.WithStack(err) |
| 74 | } |
| 75 | |
| 76 | func printServices(cfg *Config, pkg *devpkg.Package, w io.Writer, markdown bool) error { |
| 77 | _, contentPath := cfg.ProcessComposeYaml() |