Elegant terminal spinner.
If a string is provided, it is treated as a shortcut for options.text
.
Starts a spinner for a promise. The spinner is stopped with .succeed()
if the promise fulfills or with .fail()
if it rejects.
The promise to start the spinner for.
If a string is provided, it is treated as a shortcut for options.text
.
The spinner instance.
Creates a new spinner instance with the specified message
Output display message
Terminates the current spinner with the specified output message
Output message
Renders output as error toggle
Terminates the current spinner as an error with output message
Spinner message.
Updates the text of the current spinner
CLI output text to display
Generated using TypeDoc
Holds spinner instances