6 releases (3 breaking)
0.4.1 | Feb 15, 2024 |
---|---|
0.4.0 | Feb 3, 2024 |
0.3.1 | Feb 2, 2024 |
0.2.0 | Jan 28, 2024 |
0.1.0 | Jan 28, 2024 |
#70 in Configuration
58 downloads per month
23KB
596 lines
SDMW - A Simple Dotfiles Manager Written in Rust
v0.4.0
Changed behavior of a subcommand add
Requirements
- Unix-like operating system
git
Installation
Run the following Cargo command:
cargo install sdmw
Or download prebuilt binary from the GitHub release page
Usage
- Create a new repository:
sdmw new /path/to/repository && cd /path/to/repository
- Edit
settings.json
:
{
"path": [
+ "~/.config/alacritty",
+ "~/.zshrc"
]
}
And run:
sdmw add
Alternatively:
sdmw add ~/.config/alacritty ~/.zshrc
- Install: Create symbolic links.
sdmw install
To restore files:
cd /path/to/repository && sdmw restore alacritty/
Options
-q
,--quiet
- Do not print log messages.-p
,--pretend
- Prit what it would do but not actually change anything.-h
,--help
- Print help.-V
,--version
- Print version.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~4–16MB
~162K SLoC