sun::cli::EarlyExit
struct · Source (opens in a new tab)
struct sun::cli::EarlyExitA command line that ends the run before any command starts: help, version, or a mistake such as an unknown flag.
It names the text to print, the stream to print it on, and the process exit code.
Public Fields
exitCode
public · variable · Source (opens in a new tab)
int sun::cli::EarlyExit::exitCode = 0No documentation comment.
stream
public · variable · Source (opens in a new tab)
Stream sun::cli::EarlyExit::stream = Stream::ErrNo documentation comment.
Related: Stream, Stream::Err
text
public · variable · Source (opens in a new tab)
std::string sun::cli::EarlyExit::textNo documentation comment.
Public Enums
Stream
public · enum · Source (opens in a new tab)
enum class sun::cli::EarlyExit::StreamSelects the output stream used for an early-exit message.
Out
Out
No documentation comment.
Err
Err
No documentation comment.