| Crates.io | badm |
| lib.rs | badm |
| version | 0.5.0 |
| created_at | 2019-10-29 18:15:24.496948+00 |
| updated_at | 2019-11-12 21:14:33.050907+00 |
| description | But another dotfile manager. |
| homepage | |
| repository | https://github.com/jakeschurch/badm |
| max_upload_size | |
| id | 176703 |
| size | 66,198 |
badm is "But Another Dotfiles Manager".
badm stores your dotfiles in a directory that replicates the directory hierarchy of the dotfiles' original path, and creates symlinks to their original paths. This creates a standardized approach for managing, deploying, and sharing dotfiles among different systems and users.
~/.dotsbadm set-dir ~/.dots sets the BADM dotfiles dir at ~/.dots$HOME and $XDG_CONFIG_HOME. If the config file not found, badm will create it under $HOME
/home
└── ferris
└── .dots
├── .badm.toml
└── .gitconfig
~/.gitconfig as a dotfile, ferris runs badm stow ~/.gitconfig (relative paths work as well)~/.dots directory
/home
└── ferris
├── .badm.toml
├── .dots
│ └── home
│ └── ferris
│ └── .gitconfig
└── .gitconfig -> /home/ferris/.dots/home/ferris/.gitconfig
TODO: will populate for v1.0.0 release
badm set-dir <DIRECTORY> - set dotfiles directory location, if the location is not created BADM has the ability to create one for youbadm stow <FILE> - store a file in the dotfiles directory, create a symlink at the original source of the stowed file.
badm deploy <FILE> - for new configurations, create symlinks in directories relative to the dotfile's directory hierarchy. Directories to replicate the stored dotfile's directory structure will be created if not found.badm restore <FILE> - restore the stored file from the dotfiles directory and replace the symlink with the original file*, ?) (v0.4.0)Pull requests, issues/feature requests, and bug reports are welcome!
This project is made available under the MIT license. See the LICENSE file for more information.