diff options
author | Henrique Alves <henriquelalves@gmail.com> | 2023-04-28 12:17:25 -0300 |
---|---|---|
committer | Henrique Alves <henriquelalves@gmail.com> | 2023-04-28 12:17:25 -0300 |
commit | 40ef4573fecef4f955fa201cbe278a51608894ab (patch) | |
tree | e27ea3613bc54b1b3983b07d898596bfc5e5bfab /src/main.rs | |
parent | 620f3ac10b368f9ffe255cfe420ab0c4f6b91a58 (diff) | |
download | glam-40ef4573fecef4f955fa201cbe278a51608894ab.tar.gz glam-40ef4573fecef4f955fa201cbe278a51608894ab.tar.bz2 glam-40ef4573fecef4f955fa201cbe278a51608894ab.zip |
Readded glam apply
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 17 |
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); + } + } } } |