Remove the AddPost command.

I will be putting this back in later but having the skeleton sitting there unused has no value at this time.
This commit is contained in:
Tom Alexander
2023-10-20 19:13:22 -04:00
parent 273734c9ff
commit 051e86e65a
5 changed files with 17 additions and 15 deletions

View File

@@ -4,6 +4,7 @@ use clap::Parser;
use self::cli::parameters::Cli;
use self::cli::parameters::Commands;
use self::command::build::build_site;
use self::command::init::init_writer_folder;
mod cli;
mod command;
@@ -21,10 +22,11 @@ async fn main_body() -> Result<ExitCode, Box<dyn std::error::Error>> {
let args = Cli::parse();
match args.command {
Commands::Init(args) => {
init_writer_folder(&args).await?;
init_writer_folder(args).await?;
}
Commands::Build(args) => {
build_site(args).await?;
}
Commands::Build(_args) => {}
Commands::AddPost(_args) => {}
};
Ok(ExitCode::SUCCESS)
}