summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs17
1 files changed, 9 insertions, 8 deletions
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);
+ }
+ }
}
}