#pragma once
#include "Config.h"

class ProgramOptions
{
public:
    static Config parseCommandLine(int argc, char* argv[]) ;

    static std::set<std::uint32_t> parseCharsString(std::string str);
    static Config::Color parseColor(const std::string& str);
    static std::vector<Config::Size> parseTextureSize(const std::string& s);
private:
    static void getCharsFromFile(const std::string& fileName, std::set<std::uint32_t>& result);
};
