Set up folder structure for the command handlers.
This commit is contained in:
parent
179b07388a
commit
8b5930f277
0
src/command/add_post/mod.rs
Normal file
0
src/command/add_post/mod.rs
Normal file
0
src/command/build/mod.rs
Normal file
0
src/command/build/mod.rs
Normal file
0
src/command/init/mod.rs
Normal file
0
src/command/init/mod.rs
Normal file
3
src/command/mod.rs
Normal file
3
src/command/mod.rs
Normal file
@ -0,0 +1,3 @@
|
||||
pub(crate) mod add_post;
|
||||
pub(crate) mod build;
|
||||
pub(crate) mod init;
|
@ -5,6 +5,7 @@ use clap::Parser;
|
||||
use self::cli::parameters::Cli;
|
||||
use self::cli::parameters::Commands;
|
||||
mod cli;
|
||||
mod command;
|
||||
|
||||
fn main() -> Result<ExitCode, Box<dyn std::error::Error>> {
|
||||
let rt = tokio::runtime::Runtime::new()?;
|
||||
|
Loading…
Reference in New Issue
Block a user