Completely reworked copying and added more error handling

This commit is contained in:
2024-02-03 20:51:20 -06:00
parent fbd8c4dd24
commit 2d6a5b3069
10 changed files with 630 additions and 299 deletions

View File

@@ -1,18 +1 @@
use clap::{Arg, Command, ArgAction, ArgMatches};
pub fn parse_args() -> ArgMatches {
let matches = Command::new("dotfiles")
.version("0.1")
.author("Ethan Simmons")
.about("Manages dotfiles")
.arg(Arg::new("from-git")
.short('f')
.long("from-git")
.action(ArgAction::SetTrue)
)
.get_matches();
matches
}
pub mod args;