Collection of warnings that can be accessed and manipulated later.
Prompt the user for confirmation.
The message displayed to the user.
Returns true if the user inputs 'y' or 'yes', and false if the user inputs 'n' or 'no'.
Logs an error at ERROR level and conditionally writes to stderr if stream
output is enabled.
The errors to log.
Logs an object as JSON at ERROR level and to stderr.
The error object to log -- must be serializable as JSON.
Get the spinner status.
Logs at INFO level and conditionally writes to stdout if stream output is enabled.
The messages or objects to log.
Log JSON to stdout and to the log file with log level info.
The object to log -- must be serializable as JSON.
Pause the spinner and call the given function.
The function to be called in the pause.
The string displayed to the user.
The result returned by the passed in function.
Prompt the user for input.
The string that the user sees when prompted for information.
A prompt option configuration.
The user input to the prompt.
Update the spinner status.
The message displayed to the user.
Start a spinner action after displaying the given message.
The message displayed to the user.
The status displayed to the user.
The options to select whereas spinner will output to stderr or stdout.
Stop the spinner action.
The message displayed to the user.
Logs at INFO level and conditionally writes to stdout in a styled header format if
stream output is enabled.
The header to be styled.
Log at INFO level and conditionally write to stdout in styled JSON format if
stream output is enabled.
The object to be styled for stdout.
Logs at INFO level and conditionally writes to stdout in a styled object format if
stream output is enabled.
The object to be styled for stdout.
Logs at INFO level and conditionally writes to stdout in a table format if
stream output is enabled.
The rows of data to be output in table format.
The {@link SfdxTableOptions} to use for formatting.
Logs a warning as WARN level and conditionally writes to stderr if the log
level is WARN or above and stream output is enabled. The message is added
to the static UX.warnings set if stream output is not enabled, for later
consumption and manipulation.
The warning message to output.
Create a UX instance.
A Promise of the created UX instance.
Formats a deprecation warning for display to stderr, stdout, and/or logs.
The definition for the deprecated object.
The formatted deprecation message.
Utilities for interacting with terminal I/O.