feat: basic structure implemented

This commit is contained in:
2026-05-30 00:00:53 +02:00
parent d87ed452f4
commit 5ede25f061
5 changed files with 615 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
database_source localhost
database_port 666
database_user wordsmith
database_password wordsmith
database_name wordsmith

14
src/main.rs Normal file
View File

@@ -0,0 +1,14 @@
use std::fs::read_to_string;
const DEFAULT_CONFIG_PATH: str = "./assets/wordsmith_default.conf";
fn main() {
let args: Vec<String> = env::args().collect();
println!("Hello, world!");
for line in read_to_string(DEFAULT_CONFIG_PATH).unwrap().lines() {
if let Some((key, value)) = line.split_once(" ") {}
}
// CREATE DB IF DOES NOT EXISTS
}