terraform/backend
Martin Atkins e6a516d87e backend/local: Use terminal properties to tweak the plan output
We now require the output to accept UTF-8 and we can determine how wide
the terminal (if any) is, so here we begin to make use of that for the
"terraform plan" command.

The horizontal rule is now made of box drawing characters instead of
hyphens and fills the whole terminal width.

The paragraphs of text in the output are now also wrapped to fill the
terminal width, instead of the hard-wrapping we did before.

This is just a start down the road of making better use of the terminal
capabilities. Lots of other commands could benefit from updates like these
too.
2021-01-13 15:37:04 -08:00
..
init backend: remove deprecated atlas backend 2020-10-26 14:05:18 -04:00
local backend/local: Use terminal properties to tweak the plan output 2021-01-13 15:37:04 -08:00
remote update MockProvider usage 2021-01-12 17:47:55 -05:00
remote-state update remote state to use legacy types 2020-12-02 12:16:35 -05:00
backend.go helper: deprecate pathorcontents 2020-10-08 08:42:16 -04:00
backend_test.go helper: deprecate pathorcontents 2020-10-08 08:42:16 -04:00
cli.go command: Use the new terminal.Streams object 2021-01-13 15:37:04 -08:00
operation_type.go Version tools per Go convention under tools.go 2019-10-17 22:23:39 +02:00
operationtype_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
testing.go remove LegacyProvider (#26433) 2020-10-05 08:33:49 -04:00
unparsed_value.go Avoid leaking sensitive values in undeclared warnings 2019-11-05 17:32:57 -08:00
unparsed_value_test.go backend/local: Handle interactive prompts for variables in UI layer 2019-10-10 10:07:01 -07:00