9 releases
new 0.1.9 | Feb 18, 2025 |
---|---|
0.1.8 | Feb 18, 2025 |
#28 in Configuration
604 downloads per month
56KB
1.5K
SLoC
dotpatina
dotpatina is a rust application for managing system dotfiles and configuration.
Installation
crates.io
dotpatina
can be installed from its crate at crates.io.
cargo install dotpatina
Usage
Render
dotpatina render --help
Render a patina to stdout
Usage: patina render [OPTIONS] <PATINA_PATH>
Arguments:
<PATINA_PATH> The file path to the patina toml file
Options:
-v, --verbose... Increase logging verbosity
-q, --quiet... Decrease logging verbosity
--no-color Disable colors
-h, --help Print help
Apply
dotpatina apply --help
Render and apply a patina
Usage: patina apply [OPTIONS] <PATINA_PATH>
Arguments:
<PATINA_PATH> The file path to the patina toml file
Options:
-v, --verbose... Increase logging verbosity
-q, --quiet... Decrease logging verbosity
--no-color Disable colors
--no-input Don't ask for user input
-h, --help Print help
Examples
# Help
dotpatina --help
dotpatina render --help
dotpatina apply --help
# Render
dotpatina render examples/simple/patina.toml -vvv
dotpatina render examples/gitconfig/patina.toml -vvv
# Apply
dotpatina apply examples/simple/patina.toml -vvv
dotpatina apply examples/gitconfig/patina.toml -vvv
Dependencies
~5–13MB
~166K SLoC