Something went wrong. Try again.
A 5e storytelling engine with an LLM DM
Something went wrong. Try again.
12345678910111213141516use std::path::{Path, PathBuf};
use clap::Parser;
fn main() -> std::process::ExitCode { let arguments = storied::cli::Cli::parse(); let srd_sources = storied::srd::fetch::SrdSources::srd_5_2_1(); let layer_root = Path::new(storied::srd::SRD_LAYER_ROOT); let session_layers: Vec<PathBuf> = storied::knowledge::SESSION_LAYERS .iter() .map(PathBuf::from) .collect(); let result = storied::cli::run(arguments, &srd_sources, layer_root, &session_layers); std::process::ExitCode::from(storied::cli::exit_code(result))}