Consolix
Loading...
Searching...
No Matches
Common Types and Enumerations

Common Types and Enumerations

The utilities below are intended to be safe direct includes:

Enumerations

Type Aliases

When CONSOLIX_USE_CXXOPTS == 1:

  • consolix::CliOptions: alias for cxxopts::Options
  • consolix::CliArguments: alias for cxxopts::ParseResult

Example

#define CONSOLIX_USE_CXXOPTS 1
int main() {
#if CONSOLIX_USE_CXXOPTS == 1
consolix::CliOptions options("MyApp", "Example");
options.add_options()("help", "Show help");
#endif
return static_cast<int>(color);
}
Contains enumerations and utility functions for text colors.
TextColor
Represents text colors for console output.
Definition enums.hpp:19
Contains common type.