package
1.0.1
Repository: https://github.com/terramate-io/opentofulib.git
Documentation: pkg.go.dev

# Functions

Init tries to initialize a terminal, if OpenTofu 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.