package
1.12.0-alpha20250213
Repository: https://github.com/hashicorp/terraform.git
Documentation: pkg.go.dev

# Functions

Init tries to initialize a terminal, if Terraform is running in one, and returns an object describing what it was able to set up.
StreamsForTesting is a helper for test code that is aiming to test functions that interact with the input and output streams.

# Structs

InputStream represents an input stream that might or might not be a terminal.
OutputStream represents an output stream that might or might not be connected to a terminal.
Streams represents a collection of three streams that each may or may not be connected to a terminal.
TestOutput is a type used to return the results from the various stream testing helpers.