Commit Graph

9 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
+ Update README, help text
2022-05-29 19:19:42 -04:00
Shaun Reed eabc227c09 WIP Commit
+ Update README to use cargo install instructions
2021-12-29 15:27:22 -05: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 94473ca8da Add additional files to test collisions in `dry-runs/`
+ Update README to show use of nested dotfiles repositories
2021-09-29 11:05:20 -04:00
Shaun Reed eadf1fd0a2 Start work on basic CLI features
+ Add basic logic for detecting conflicting configs, prompt to abort or
+ 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