Rusted-YADM is a command-line dotfile manager written in Rust. It helps you manage, version control, and synchronize your dotfiles across multiple machines.
- Clone dotfile repositories from Git (HTTPS and SSH)
- Add new dotfiles to the repository
- Commit changes to your dotfiles
- Push changes to remote repository
- Automatically copy dotfiles to your home directory after cloning
- Rust and Cargo (latest stable version)
- Git
-
Clone this repository:
git clone https://github.com/M1n-74316D65/rusted-yadm.git cd rusted-yadm
-
Build the project:
cargo build --release
-
Install the binary:
cargo install --path .
To clone a repository, use the clone
subcommand followed by the repository URL and the desired destination directory:
rusted-yadm clone https://github.com/M1n-74316D65/dotfiles.git
This will clone the repository to the specified directory and automatically copy the files to your home directory.
Force clone:
rusted-yadm clone https://github.com/M1n-74316D65/dotfiles.git -f
To add a file to the repository, use the add
subcommand followed by the path to the file:
rusted-yadm add ~/.bashrc
This will add the specified file to the repository and commit the changes.
To commit changes to the repository, use the commit
subcommand followed by the commit message:
rusted-yadm commit "Initial commit"
This will commit the changes to the repository.
To push changes to the remote repository, use the push
subcommand:
rusted-yadm push
This will push the changes to the remote repository.
Contributions are welcome! If you have any suggestions or improvements, please open an issue or submit a pull request.
This project is licensed under the EUPL. See the LICENSE file for more information.