From 348b32afca87237faacb7791af2aa9dc6d8ad632 Mon Sep 17 00:00:00 2001 From: Fontrodona Nicolas <nicolas.fontrodona@ens-lyon.fr> Date: Tue, 31 Jan 2023 14:20:47 +0100 Subject: [PATCH] src/main.rs: add clean module --- src/main.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.rs b/src/main.rs index b103ce8..74f35c3 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(); + } } } -- GitLab