From 40ef4573fecef4f955fa201cbe278a51608894ab Mon Sep 17 00:00:00 2001 From: Henrique Alves Date: Fri, 28 Apr 2023 12:17:25 -0300 Subject: Readded glam apply --- src/main.rs | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 8119315..f4d1813 100644 --- a/src/main.rs +++ b/src/main.rs @@ -27,8 +27,9 @@ enum Commands { /// Install all addons on glam file Install {}, - // Apply changes to a repository - //Apply {}, + + /// Apply changes to a repository + Apply {}, } fn main() { @@ -62,11 +63,11 @@ fn main() { } } - /*Commands::Apply {} => { - let root = commands::search_project_root(); - if commands::check_initialization(&root) { - commands::apply_changes(&root, cli.verbose); - } - }*/ + Commands::Apply {} => { + let root = commands::search_project_root(); + if commands::check_initialization(&root) { + commands::apply_changes(&root, cli.verbose); + } + } } } -- cgit v1.2.3