diff options
author | Henrique Alves <henriquelalves@gmail.com> | 2023-05-18 19:33:44 -0300 |
---|---|---|
committer | Henrique Alves <henriquelalves@gmail.com> | 2023-05-18 19:33:44 -0300 |
commit | 1343fefb5ea5ae70307d361dac514e35ffd8bdfa (patch) | |
tree | a0a00b1824ff3efddfa732c4b5168d0f0478ca7b /src/main.rs | |
parent | 3bceb26842a229c39621cdf466e101e06390ab96 (diff) | |
download | glam-1343fefb5ea5ae70307d361dac514e35ffd8bdfa.tar.gz glam-1343fefb5ea5ae70307d361dac514e35ffd8bdfa.tar.bz2 glam-1343fefb5ea5ae70307d361dac514e35ffd8bdfa.zip |
Refactor to folder links
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 10 |
1 files changed, 5 insertions, 5 deletions
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) { |