# Functions
ArgsFunc wraps a standard cobra argument validator with standard Pulumi error handling.
No description provided by the author
CloseTracing ensures that all pending spans have been flushed.
DetailedError extracts a detailed error message, including stack trace, if there is one.
Diag lazily allocates a sink to be used if we can't create a compiler.
EmojiOr returns the emoji string e if emojis are enabled, or the string or if emojis are disabled.
EndKeypadTransmitMode switches the terminal out of the keypad transmit 'application' mode back to 'normal' mode.
ExactArgs is the same as cobra.ExactArgs, except it is wrapped with ArgsFunc to provide standard Pulumi error handling.
Exit exits with a given error.
ExitError issues an error and exits with a standard error exit code.
GetGlobalColorization gets the global setting for how things should be colored.
InitDiag forces initialization of the diagnostics sink with the given options.
No description provided by the author
InitTracing initializes tracing.
Interactive returns true if we should be running in interactive mode.
InteractiveTerminal returns true if the current terminal session is interactive.
No description provided by the author
IsTruthy returns true if the given string represents a CLI input interpreted as "true".
KillChildren calls os.Process.Kill() on every child process of `pid`'s, stoping after the first error (if any).
MaximumNArgs is the same as cobra.MaximumNArgs, except it is wrapped with ArgsFunc to provide standard Pulumi error handling.
MinimumNArgs is the same as cobra.MinimumNArgs, except it is wrapped with ArgsFunc to provide standard Pulumi error handling.
NewSpinnerAndTicker returns a new Spinner and a ticker that will fire an event when the next call to Spinner.Tick() should be called.
PrintTable prints a grid of rows and columns.
PrintTableWithGap prints a grid of rows and columns.
RangeArgs is the same as cobra.RangeArgs, except it is wrapped with ArgsFunc to provide standard Pulumi error handling.
ReadConsole reads the console with the given prompt text.
ReadConsoleNoEcho reads from the console without echoing.
RegisterProcessGroup informs the OS that it needs to call `setpgid` on this child process.
RemoveTrailingNewline removes a trailing newline from a string.
RunFunc wraps an error-returning run func with standard Pulumi error handling.
RunResultFunc wraps an Result-returning run func with standard Pulumi error handling.
SetGlobalColorization sets the global setting for how things should be colored.
SpecificArgs requires a set of specific arguments.
# Variables
DefaultASCIISpinFrames is the default set of symbols to show while spinning in an ASCII TTY setting.
DefaultEmojiSpinFrames is the default set of symbols to show while spinning in a Unicode-enabled TTY setting.
DisableInteractive may be set to true in order to disable prompts.
Emoji controls whether emojis will by default be printed in the output.
NoArgs is the same as cobra.NoArgs, except it is wrapped with ArgsFunc to provide standard Pulumi error handling.
TracingEndpoint is the Zipkin-compatible tracing endpoint where tracing data will be sent.
No description provided by the author
No description provided by the author
# Interfaces
Spinner represents a very simple progress reporter.