dotz

Crates.iodotz
lib.rsdotz
version1.0.3
sourcesrc
created_at2023-01-22 18:35:45.967661
updated_at2023-01-22 21:21:34.827117
descriptionA CLI tool to manage your dotfiles (unix only)
homepagehttps://zeroproject.dev/dotz
repositoryhttps://github.com/zeroproject-0/dotz
max_upload_size
id765323
size61,765
Andres (zeroproject-0)

documentation

https://zeroproject.dev/dotz

README

DOTZ

Dotz is a simple tool to manage dotfiles write in rust.

dotz

Index

Installation

Easy to install with cargo just use the following command:

cargo install dotz

or if you want to update dotz is the same command.

Usage

For use dotz you need to transfer all your dotfiles that you want manage to a folder and just run.

! Note: The folder must follow the same hierarchy as the one you want them to be installed in.

Example of folder structure:

dotfiles/
├── .config/
│   ├── alacritty/
│   │   └── alacritty.yml
│   └── bspwm/
│       └── bspwmrc
├── .zshrc
├── .vimrc

Home/
├── .config/
│   ├── alacritty/
│   │   └── alacritty.yml
│   └── bspwm/
│       └── bspwmrc
├── .zshrc
└── .vimrc

And then run the following command:

dotz [path to dotfiles folder]

Also you can specify the path where you want to install the dotfiles:

dotz [path to dotfiles folder] [path to install dotfiles]

Or you can use repo command for install the dotfiles from a repository of github (You need to have git installed).

dotz repo [github repository url]

the default path where the repository will be cloned is "$HOME/.dotfiles" but you can change it with the following command:

dotz repo [github repository url] [path to dotfiles folder]

Node: In this case the folder need to be empty or not exist (dotz will create the folder).

If you want to install the dotfiles in a different path you can use the following command:

dotz repo [github repository url] [path to dotfiles folder] [path to install dotfiles]

for all the commands you can use the following options:

-h, --help        Show help message
-f, --force       Force overwrite of existing files
-s, --static      Create static files
-v, --version     Show version
--verbose         Show verbose output
Commit count: 30

cargo fmt