Crates.io | verstau |
lib.rs | verstau |
version | 0.0.4 |
source | src |
created_at | 2023-07-08 09:59:27.282779 |
updated_at | 2023-11-12 20:39:33.883055 |
description | Symlink manager leveraging TOML configuration files |
homepage | |
repository | https://gitlab.com/vadorovsky/verstau |
max_upload_size | |
id | 911401 |
size | 21,746 |
Symlink manager leveraging TOML configuration files. Written with the following use cases in mind:
/usr/local
).Verstau looks for verstau.toml
file in the given directory, which has the
following syntax:
[my_file_1]
source = "my_file_1"
destination = "~/my_file"
[my_file_2]
source = "my_file_2"
destination = "/etc/my_file_2"
To apply the configuration, launch the following command (from the directory
containing verstau.toml
):
verstau apply
If the command fails, because a destination file already exists, and you are
sure that you want to replace it, you can use --force
option to overwrite
existing files:
verstau apply --force
Or --skip-existing
to add only new symlinks:
verstau apply --skip-existing
This repository uses verstau to manage configuration files, both system-wide (/etc) and user-wide.