Commit Graph

7 Commits

Author SHA1 Message Date
Shaun Reed a01ab6b532 Improve CLI
+ Add repository URL as valid input for dotfiles
+ Add regex, chrono crates
+ Add custom error types for Kot
+ Add uninstallation of dotfiles to revert changes when error is
  encountered
+ Update README, help text
2022-05-29 19:19:42 -04:00
Shaun Reed c2297c9937 Rename modules to names not used within std 2021-12-29 14:54:03 -05:00
Shaun Reed 069f5cc128 Improve error handling
+ Alias for returning Result with varying Error types
+ Update all Result returns to use new alias
+ Documentation comments for functions and structs
+ Add move_dir and move_file functions to fs wrapper module
+ Add `--force` flag for overwriting an existing configuration backup
2021-12-29 13:53:46 -05:00
Shaun Reed fded317a65 Handle collisions with existing configs
+ Backup all conflicts to the backup directory set through CLI
+ Resolves any symlinks to backup their destination files or paths
2021-12-27 08:31:56 -05:00
Shaun Reed 34ff8f54ab Add comments and TODOs
+ Resolve all build warnings
2021-12-26 19:08:58 -05:00
Shaun Reed eadf1fd0a2 Start work on basic CLI features
+ Add basic logic for detecting conflicting configs, prompt to abort or
  continue
+ Create symlinks to configs
+ Basic usage is `kot path/to/dotfiles/`
+ Add `--backup-dir` option for setting directory for backing up configs
+ Default backup-dir to `backups/kapper` until finished testing
+ Add `--home-dir` option for setting location to install configs
+ Default home-dir setting to `dry-runs/kapper` until finished testing
2021-09-28 23:49:11 -04:00
Shaun Reed cb0e627a42 Initial commit 2021-09-25 13:39:37 -04:00