update cli arg handling

This commit is contained in:
Aaron Po
2026-04-02 18:41:25 -04:00
parent 52e2333304
commit 29ea47fdb6
4 changed files with 385 additions and 161 deletions

View File

@@ -1,2 +0,0 @@
#pragma once

View File

@@ -5,7 +5,6 @@
#include <vector>
#include <unordered_map>
#include "application_options.h"
#include "data_generation/data_generator.h"
#include "database/database.h"
#include "web_client/web_client.h"
@@ -16,9 +15,12 @@
* @brief Program options for the Biergarten pipeline application.
*/
struct ApplicationOptions {
/// @brief Path to the LLM model file (gguf format).
/// @brief Path to the LLM model file (gguf format); mutually exclusive with useMocked.
std::string modelPath;
/// @brief Use mocked generator instead of LLM; mutually exclusive with modelPath.
bool useMocked = false;
/// @brief Directory for cached JSON and database files.
std::string cacheDir;
@@ -31,7 +33,7 @@ struct ApplicationOptions {
/// @brief Random seed for sampling (-1 for random, otherwise non-negative).
int seed = -1;
/// @brief Git commit hash for database consistency.
/// @brief Git commit hash for database consistency (always pinned to c5eb7772).
std::string commit = "c5eb7772";
};