Commands: preview
A preview answers "what would this command do?" and then does not do it. Use it before a clean, a publish, or a test run when you want the plan without the side effect.
def grouped: String =
val blocks = groups.map: group =>
val lines = entries.filter(_.group == group).map(entry => s" ${entry.usage}")
(group :: lines).mkString("\n")
("histos help" :: "histos help <command>" :: "" :: blocks).mkString("\n")compile and test
histos preview compile names the sources the last analysis says are out of date.
histos preview test names the suites a quick run would skip, and the ones it would run.
publish and clean
histos preview publish local and histos preview publish snapshots describe the
coordinate they would write. histos preview clean names the outputs it would delete.
None of them write.
run
histos preview run <name> names the program it would start, and does not start it.