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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user