#ifndef CORE_RELINKER_CLI_INCLUDE_CLI_HPP #define CORE_RELINKER_CLI_INCLUDE_CLI_HPP #include #include #include #include namespace Cli { struct Args { bool showHelp = false; bool skipSyscallCheck = false; bool trapSdkSyscallStubs = false; bool skipSceModule = false; bool toIntel = false; bool toRosetta = false; bool writeRegistry = false; bool toWindows = false; bool toMacos = false; bool lazyBinding = false; bool autorun = false; bool windowsDiagnostics = false; bool windowsGui = false; std::uint32_t unusedFilterLevel = 0; std::string inputPath; std::string outputPath; std::string sceModulePath; std::string runPath = "$ORIGIN/libs"; std::set excludedSceModules; std::vector moduleDirectories; }; Args ParseArgs(int argc, char* argv[]); const char* Usage(); int Autorun(const std::string& absPath, bool toWindows); } #endif