Add the folder structure for the toml config.

This commit is contained in:
Tom Alexander 2023-10-18 19:59:45 -04:00
parent 8b5930f277
commit 63b0619094
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
3 changed files with 7 additions and 0 deletions

4
src/config/definition.rs Normal file
View File

@ -0,0 +1,4 @@
/// This is the struct for the writer.toml config file that ends up in each site's root directory.
pub(crate) struct Config {
foo: String,
}

2
src/config/mod.rs Normal file
View File

@ -0,0 +1,2 @@
mod definition;
pub(crate) use definition::Config;

View File

@ -6,6 +6,7 @@ use self::cli::parameters::Cli;
use self::cli::parameters::Commands;
mod cli;
mod command;
mod config;
fn main() -> Result<ExitCode, Box<dyn std::error::Error>> {
let rt = tokio::runtime::Runtime::new()?;