localsetup-0.0.2 is not a library.
localsetup – Setup your local computer / user automatically
Installation
Install the binary from Github directly
curl https://github.com/zgtm/localsetup/releases/latest/download/localsetup -o ~/.local/bin/localsetup && chmod a+x ~/.local/bin/localsetup
or build and install it with cargo:
cargo install localsetup
(or checkout this repository and run cargo install --path . inside).
First Setup
Create a setupfile (see below) somewhere and pass it to localsetup:
localsetup <path or URL to setupfile>
Subsequent Setup
Just run
localsetup
The Setupfile
Currently supported:
setup_ssh_key(boolean, defaulttrue) Setup an ssh key and print the public key if none exists yet