package
1.2.6
Repository: https://github.com/redhat-developer/ocdev.git
Documentation: pkg.go.dev

# Packages

Package fidget implements CLI functionality for bored users waiting for results.

# Functions

Askf will print out information, but in an "Ask" way (without newline).
Describef will print out the first variable as BOLD and then the second not.
Error will output in an appropriate "progress" manner.
Errorf will output in an appropriate "progress" manner.
Experimental will output in an appropriate "progress" manner.
ExplicitSpinner creates a spinner that can or not spin based on the value of the preventSpinning parameter.
GetStderr gets the appropriate stderrfrom the OS.
GetStdout gets the appropriate stdout from the OS.
Info will simply print out information on a new (bolded) line this is intended as information *after* something has been deployed.
Infof will simply print out information on a new (bolded) line this is intended as information *after* something has been deployed.
IsDebug returns true if we are debugging (-v is set to anything but 0).
IsJSON returns true if we are in machine output mode.
IsTerminal returns true if the writer w is a terminal This function is modified if we are running within Windows.
Italic will simply print out information on a new italic line.
Italicf will simply print out information on a new italic line this is **normally** used as a way to describe what's next within odo.
Namef will output the name of the component / application / project in a *bolded* manner.
NewStatus creates a new default Status.
Progressf will output in an appropriate "progress" manner.
Spinner creates a spinner, sets the prefix then returns it.
Spinnerf creates a spinner, sets the prefix then returns it.
SpinnerNoSpin is the same as the "Spinner" function but forces no spinning.
Success will output in an appropriate "success" manner.
Successf will output in an appropriate "progress" manner.
Swarningf (like Sprintf) will return a string in the "warning" manner.
Warning will output in an appropriate "progress" manner.
Warningf will output in an appropriate "warning" manner.

# Structs

Status is used to track ongoing status in a CLI, with a nice loading spinner when attached to a terminal.