Skip to content
Snippets Groups Projects
Verified Commit 348b32af authored by nfontrod's avatar nfontrod
Browse files

src/main.rs: add clean module

parent ae342a89
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,7 @@ use clap::{Args, Parser, Subcommand}; ...@@ -5,6 +5,7 @@ use clap::{Args, Parser, Subcommand};
use colored::Colorize; use colored::Colorize;
use configt::PartialPrune; use configt::PartialPrune;
mod checkout; mod checkout;
mod clean;
mod commit; mod commit;
mod compact; mod compact;
mod config_structure; mod config_structure;
...@@ -106,6 +107,8 @@ enum Commands { ...@@ -106,6 +107,8 @@ enum Commands {
Push(Push), Push(Push),
/// This command can be used to pull a repository using a remote /// This command can be used to pull a repository using a remote
Pull(Pull), Pull(Pull),
/// This command clean the .tmp repository of the project folder
Clean,
} }
#[derive(Debug, Args)] #[derive(Debug, Args)]
...@@ -398,5 +401,8 @@ fn main() { ...@@ -398,5 +401,8 @@ fn main() {
Commands::Pull(p) => { Commands::Pull(p) => {
pull::pull(&p.key); pull::pull(&p.key);
} }
Commands::Clean => {
clean::clean();
}
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment