diff --git a/src/main.rs b/src/main.rs index b103ce8036a8a905faa403745b4a55db950b5e81..74f35c3de968f4b73735bfd2f8e551b8f33c81d4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,6 +5,7 @@ use clap::{Args, Parser, Subcommand}; use colored::Colorize; use configt::PartialPrune; mod checkout; +mod clean; mod commit; mod compact; mod config_structure; @@ -106,6 +107,8 @@ enum Commands { Push(Push), /// This command can be used to pull a repository using a remote Pull(Pull), + /// This command clean the .tmp repository of the project folder + Clean, } #[derive(Debug, Args)] @@ -398,5 +401,8 @@ fn main() { Commands::Pull(p) => { pull::pull(&p.key); } + Commands::Clean => { + clean::clean(); + } } }