package
0.10.2
Repository: https://github.com/aws-cloudformation/rain.git
Documentation: pkg.go.dev

# Packages

Package run contains utility functions for executing external commands.
Package spinner contains functions for displaying progress updates with a spinning icon that shows the user that progress is being made.
Package text defines the Text type that is used to represent blocks of ANSI formatted text.

# Functions

Ask prints the supplied prompt and then waits for user input which is returned as a string.
Clear removes all text from the console and puts the cursor in the top-left corner.
ClearLine removes all text from the current line and puts the cursor on the left.
Confirm asks the user for "y" or "n" and returns true if the response was "y".

# Variables

HasColour is true if your program is running a platform that supports ANSI colours.
IsTTY will be true if stdout is connected to a true terminal.