15 lines
370 B
Rust
15 lines
370 B
Rust
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
|
|
}
|