package
2.6.2+incompatible
Repository: https://github.com/10gen/realm-cli.git
Documentation: pkg.go.dev

# Functions

FileWriter is a mock terminal UI writer which sends command output to a file named after the test being run.
NewConsole returns a new *bytes.Buffer and a *expect.Console along with its corresponding mock terminal UI that write to the buffer.
NewConsoleWithOptions creates a new *expect.Console along with its corresponding mock terminal UI based on the provided options.
NewProfile returns a new CLI profile with a random name.
NewProfileFromTmpDir returns a new CLI profile with a random name and a current working directory based on a temporary directory along with the associated cleanup function.
NewProfileFromWd returns a new CLI profile with a random name and the current working directory.
NewProfileWithSession returns a new CLI profile with a session.
NewUI returns a new *bytes.Buffer and a mock terminal UI that writes to the buffer.
NewUIWithOptions creates a new mock terminal UI based on the provided options.
NewVT10XConsole returns a new *bytes.Buffer and a *expect.Console along with its corresponding *vt10.State and mock terminal UI that write to the buffer.
NewVT10XConsoleWithOptions creates a new *expect.Console along with its corresponding *vt10.State and mock terminal UI based on the provided options.

# Variables

StaticTime represents a time.Time that displays the clock as 01:23:45.678.

# Structs

AtlasClient is a mocked Atlas client.
RealmClient is a mocked Realm client.
TelemetryService is a mocked telemetry service.
UIOptions are the options to configure the mock terminal UI.