terraform/backend/local
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
..
testdata refresh is expected for destroy 2021-01-08 13:29:54 -05:00
backend.go command: Use the new terminal.Streams object 2021-01-13 15:37:04 -08:00
backend_apply.go rely solely on the plan changes for outputs 2020-10-12 18:59:14 -04:00
backend_apply_test.go update MockProvider usage 2021-01-12 17:47:55 -05:00
backend_local.go set SkipRefresh for plan and apply 2020-12-10 09:47:13 -05:00
backend_local_test.go * backend/local: push responsibility for unlocking state into individual operations 2020-08-11 11:23:42 -04:00
backend_plan.go backend/local: Use terminal properties to tweak the plan output 2021-01-13 15:37:04 -08:00
backend_plan_test.go backend/local: Use terminal properties to tweak the plan output 2021-01-13 15:37:04 -08:00
backend_refresh.go insert PlanRefresh into the context 2020-09-24 09:34:49 -04:00
backend_refresh_test.go update MockProvider usage 2021-01-12 17:47:55 -05:00
backend_test.go Implement the remote enhanced backend 2018-11-06 16:29:46 +01:00
cli.go backend/local: Use terminal properties to tweak the plan output 2021-01-13 15:37:04 -08:00
counthookaction_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
hook_count.go backend/local: Fix incorrect destroy/update count on apply 2018-12-11 18:06:53 +00:00
hook_count_action.go Version tools per Go convention under tools.go 2019-10-17 22:23:39 +02:00
hook_count_test.go legacy types in backend/local 2020-12-02 12:33:18 -05:00
hook_state.go state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
hook_state_test.go state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
local_test.go use a single log writer 2020-10-19 14:29:54 -04:00
testing.go update MockProvider usage 2021-01-12 17:47:55 -05:00