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

@@ -20,9 +20,6 @@ pub(crate) enum Commands {
/// Build the static site.
Build(BuildArgs),
/// Add a blog post to the site.
AddPost(BuildArgs),
}
#[derive(Args, Debug)]
@@ -39,13 +36,6 @@ pub(crate) struct BuildArgs {
pub(crate) config: PathBuf,
}
#[derive(Args, Debug)]
pub(crate) struct AddPostArgs {
/// Path to the writer config file.
#[arg(short, long)]
pub(crate) config: PathBuf,
}
#[cfg(test)]
mod tests {
use super::*;