package cli

import (
	"tsne.dev/hopper/internal/log"
)

// logAction prints a per-action line.
// In dry-run mode the line is prefixed with "[dryrun] ".
func logAction(format string, args ...any) {
	if dryRun {
		format = "[dryrun] " + format
	}
	log.Print(format, args...)
}

// logSummary prints the final summary line.
func logSummary(format string, args ...any) {
	if dryRun {
		format += "\n\nNote: This was a dry run. Nothing on the zone was modified."
	}
	log.PrintImportant(format, args...)
}
