From 1343fefb5ea5ae70307d361dac514e35ffd8bdfa Mon Sep 17 00:00:00 2001 From: Henrique Alves Date: Thu, 18 May 2023 19:33:44 -0300 Subject: Refactor to folder links --- src/main.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index f4d1813..2898f09 100644 --- a/src/main.rs +++ b/src/main.rs @@ -27,7 +27,7 @@ enum Commands { /// Install all addons on glam file Install {}, - + /// Apply changes to a repository Apply {}, } @@ -54,15 +54,15 @@ fn main() { if commands::check_initialization(&root) { commands::update_repository(&root, cli.verbose); } - } - + } + Commands::Install {} => { let root = commands::search_project_root(); if commands::check_initialization(&root) { commands::install_repositories(&root, cli.verbose); } - } - + } + Commands::Apply {} => { let root = commands::search_project_root(); if commands::check_initialization(&root) { -- cgit v1.2.3