terraform/command/views
Martin Atkins bf396b5f1b command/views: main View type aware if it's running in automation
This "running in automation" idea is a best effort thing where we try to
avoid printing out specific suggestions of commands to run in the main
workflow when the user is running Terraform inside a wrapper script or
other automation, because they probably don't want to bypass that
automation.

This just makes that information available to the main views.View type,
so we can then make use of it in the implementation of more specialized
view types that embed views.View.

However, nothing is using it as of this commit. We'll use it in later
commits.
2021-05-10 10:50:05 -07:00
..
json views/json: Fix diag crash with invalid highlight 2021-05-04 08:35:42 -04:00
apply.go cli: Add JSON logs for operations commands 2021-04-30 11:37:36 -04:00
apply_test.go cli: Add JSON logs for operations commands 2021-04-30 11:37:36 -04:00
hook_count.go cli: Migrate apply to command views 2021-02-22 11:47:40 -05:00
hook_count_test.go cli: Migrate apply to command views 2021-02-22 11:47:40 -05:00
hook_json.go cli: Add JSON logs for operations commands 2021-04-30 11:37:36 -04:00
hook_json_test.go cli: Add JSON logs for operations commands 2021-04-30 11:37:36 -04:00
hook_ui.go cli: Fix misapplied terminal colors on run logs 2021-02-16 15:05:22 -05:00
hook_ui_test.go cli: Fix misapplied terminal colors on run logs 2021-02-16 15:05:22 -05:00
json_view.go cli: Add JSON logs for operations commands 2021-04-30 11:37:36 -04:00
json_view_test.go cli: Add JSON logs for operations commands 2021-04-30 11:37:36 -04:00
operation.go command/views: Remove baseState argument from plan-rendering views 2021-05-10 09:25:30 -07:00
operation_test.go command/views: Remove baseState argument from plan-rendering views 2021-05-10 09:25:30 -07:00
output.go views: Fix missing source in diagnostic output 2021-02-26 16:43:03 -05:00
output_test.go views: Expand test coverage for views.Output 2021-02-16 08:48:31 -05:00
plan.go command/views: Remove baseState argument from plan-rendering views 2021-05-10 09:25:30 -07:00
plan_test.go cli: Migrate plan to command views 2021-02-23 10:09:25 -05:00
refresh.go cli: Add JSON logs for operations commands 2021-04-30 11:37:36 -04:00
refresh_test.go cli: Add JSON logs for operations commands 2021-04-30 11:37:36 -04:00
show.go command/views: Remove baseState argument from plan-rendering views 2021-05-10 09:25:30 -07:00
state_locker.go views: Fix missing source in diagnostic output 2021-02-26 16:43:03 -05:00
test.go command: Experimental "terraform test" command 2021-02-22 14:21:45 -08:00
test_test.go command: Experimental "terraform test" command 2021-02-22 14:21:45 -08:00
validate.go cli: Migrate validate command to views 2021-03-18 15:56:28 -04:00
validate_test.go cli: Migrate validate command to views 2021-03-18 15:56:28 -04:00
view.go command/views: main View type aware if it's running in automation 2021-05-10 10:50:05 -07:00