sdmw

Crates.iosdmw
lib.rssdmw
version0.4.1
sourcesrc
created_at2024-01-28 11:46:48.029361
updated_at2024-02-15 11:39:15.359201
descriptionA Simple Dotfiles Manager.
homepage
repositoryhttps://github.com/p1486/sdmw.git
max_upload_size
id1117518
size48,953
(9yokuro)

documentation

README

SDMW - A Simple Dotfiles Manager Written in Rust

workflow_build workflow_test Crates.io Version

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

  1. Create a new repository:
sdmw new /path/to/repository && cd /path/to/repository
  1. Edit settings.json:
{
    "path": [
+       "~/.config/alacritty",
+       "~/.zshrc"
    ]
}

And run:

sdmw add

Alternatively:

sdmw add ~/.config/alacritty ~/.zshrc
  1. 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

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.

Commit count: 0

cargo fmt