terraform/command/format
Alisdair McDiarmid 3547f9e368 format: Don't wrap space-prefixed diag details
Diagnostic detail lines sometimes contain lines which include commands
suggested for the user to execute. By convention, these start with
leading whitespace to indicate that they are not prose.

This commit changes the diagnostic formatter to wrap each line of the
detail separately, and skips word wrapping for lines prefixed with
space. This prevents ugly and confusing wrapping of long command lines.
2020-09-01 14:02:19 -04:00
..
diagnostic.go format: Don't wrap space-prefixed diag details 2020-09-01 14:02:19 -04:00
diagnostic_test.go format: Don't wrap space-prefixed diag details 2020-09-01 14:02:19 -04:00
diff.go backend/local: treat output changes as side-effects to be applied 2020-05-29 07:36:40 -07:00
diff_test.go finish provider ModuleInstance replacement 2020-03-11 14:19:52 -04:00
format.go command/format: a package for formatting plans/state for output 2017-01-26 14:33:49 -08:00
object_id.go command: Reinstate object ids in the UIHook progress logs 2018-10-16 19:14:11 -07:00
object_id_test.go Updates after running `make fmt` with Go v1.11.1 2018-10-17 14:11:08 -07:00
state.go Mildwonkey/command tests (#24535) 2020-04-06 09:24:23 -07:00
state_test.go finish provider ModuleInstance replacement 2020-03-11 14:19:52 -04:00