chore: add base for image converter tool

This commit is contained in:
Jan
2024-09-23 19:29:58 +02:00
parent fabefc8cd5
commit c37e9984ba
7 changed files with 249 additions and 0 deletions

View File

@ -0,0 +1,28 @@
#pragma once
#include "Utils/Arguments/ArgumentParser.h"
#include "Utils/ClassUtils.h"
#include <string>
#include <vector>
class ImageConverterArgs
{
public:
ImageConverterArgs();
bool ParseArgs(int argc, const char** argv, bool& shouldContinue);
bool m_verbose;
std::vector<std::string> m_files_to_convert;
private:
/**
* \brief Prints a command line usage help text for the ImageConverter tool to stdout.
*/
static void PrintUsage();
static void PrintVersion();
void SetVerbose(bool isVerbose);
ArgumentParser m_argument_parser;
};