Learning Rust by writing a dotfiles manager CLI
Go to file
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
active Start work on basic CLI features 2021-09-28 23:49:11 -04:00
backups Start work on basic CLI features 2021-09-28 23:49:11 -04:00
dotfiles Start work on basic CLI features 2021-09-28 23:49:11 -04:00
dry-runs Start work on basic CLI features 2021-09-28 23:49:11 -04:00
src Start work on basic CLI features 2021-09-28 23:49:11 -04:00
.gitignore Initial commit 2021-09-25 13:39:37 -04:00
.gitmodules Start work on basic CLI features 2021-09-28 23:49:11 -04:00
Cargo.lock Start work on basic CLI features 2021-09-28 23:49:11 -04:00
Cargo.toml Start work on basic CLI features 2021-09-28 23:49:11 -04:00
README.md Start work on basic CLI features 2021-09-28 23:49:11 -04:00

README.md

kot

Learning to program in Rust by making myself a Linux CLI tool to help manage dotfiles and configurations.

There are many other tools to manage dotfiles that work just fine. For now, this is intended to be just for my own learning / use and not a general dotfiles management utility.

[kapper@kubuntu ~]$./kot --help
kot 0.1.0
CLI utility for managing Linux user configurations

USAGE:
    kot [OPTIONS] <config>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
        --backup-dir <backup-dir>    The location to store backups for this user [default: backups/kapper]
        --home-dir <install-dir>     The location to attempt installation of user configurations [default: dry-
                                     runs/kapper]

ARGS:
    <config>    Local or full path to user configurations to install