relx 0.1.0
A Modern C++23 Type-Safe SQL Query Builder
Loading...
Searching...
No Matches
relx::migrations::cli::CommandLineArgs Struct Reference

Command-line argument parsing result. More...

#include <relx/migrations/command_line_tools.hpp>

Public Types

enum class  Command {
  HELP , GENERATE , CREATE , DROP ,
  INVALID
}
 

Public Attributes

Command command = Command::INVALID
 
std::string from_version
 
std::string to_version
 
std::string version
 
std::string output_file
 
std::string error_message
 

Detailed Description

Command-line argument parsing result.

Definition at line 39 of file command_line_tools.hpp.

Member Enumeration Documentation

◆ Command

Enumerator
HELP 
GENERATE 
CREATE 
DROP 
INVALID 

Definition at line 40 of file command_line_tools.hpp.

Member Data Documentation

◆ command

Command relx::migrations::cli::CommandLineArgs::command = Command::INVALID

Definition at line 42 of file command_line_tools.hpp.

◆ error_message

std::string relx::migrations::cli::CommandLineArgs::error_message

Definition at line 47 of file command_line_tools.hpp.

◆ from_version

std::string relx::migrations::cli::CommandLineArgs::from_version

Definition at line 43 of file command_line_tools.hpp.

◆ output_file

std::string relx::migrations::cli::CommandLineArgs::output_file

Definition at line 46 of file command_line_tools.hpp.

◆ to_version

std::string relx::migrations::cli::CommandLineArgs::to_version

Definition at line 44 of file command_line_tools.hpp.

◆ version

std::string relx::migrations::cli::CommandLineArgs::version

Definition at line 45 of file command_line_tools.hpp.


The documentation for this struct was generated from the following file: