Add the folder structure for the toml config.
This commit is contained in:
parent
8b5930f277
commit
63b0619094
4
src/config/definition.rs
Normal file
4
src/config/definition.rs
Normal 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
2
src/config/mod.rs
Normal file
@ -0,0 +1,2 @@
|
||||
mod definition;
|
||||
pub(crate) use definition::Config;
|
@ -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()?;
|
||||
|
Loading…
Reference in New Issue
Block a user