This simple program is used to manage dotfiles. I find most tools like stow are annoying to deal with so I created a cli app to manage them.
To install the app you can use cargo:
cargo install dotcatAlternatively you can download from the releases page
Important
It's required to run the setup command to set the location for your dotifles.
dotcat setup ~/dotfiles/You can change ~/dotfiles to whatever folder that fits your needs.
To add a dotfile:
# For a file
dotcat link ~/.config/dotcat.toml
# For a directory
dotcat link ~/.config/nvim
# For a file and skip the name prompt
dotcat link ~/.config/nvim neovimYou can also give a relative path and it should work the same. Also if no name is provided it will prompt for one.
To remove a dotfile:
dotcat unlink neovimThis only requires the dot name
To link the whole dot database (Useful when setting up your pc or after Arch broke ;-;):
dotcat link-dbTo unlink the whole dot database:
dotcat unlink-dbTo migrate the dots from the current dots directory to another:
dotcat migrate ~/.dotsTo list the active dots:
dotcat listYou can also check the help if you are feeling a bit lost:
dotcat help