Tome
A generic data editor for games supporting arbitrary input and output formats.
Public Member Functions | Public Attributes | List of all members
Tome::CommandLineOptions Class Reference

Utility class for parsing command-line options. More...

#include <commandlineoptions.h>

Public Member Functions

void parse (int argc, char *argv[])
 Parses the specified arguments passed from the command-line. More...
 

Public Attributes

int argc = 0
 Provided argument count.
 
char ** argv = nullptr
 Provided arguments.
 
QString exportPath
 Path to export all data to.
 
QString exportTemplateName
 Name of the export template to use for the export.
 
bool noGui = false
 Whether to prevent Tome from opening a window.
 
QString projectPath
 Project to open.
 

Detailed Description

Utility class for parsing command-line options.

Member Function Documentation

◆ parse()

void CommandLineOptions::parse ( int  argc,
char *  argv[] 
)

Parses the specified arguments passed from the command-line.

Parameters
argcProvided argument count.
argvProvided arguments.

The documentation for this class was generated from the following files: