pupdate/README.md

21 lines
652 B
Markdown
Raw Permalink Normal View History

2024-10-08 15:52:30 -07:00
# pupdate
simple helper utility to update remote systems alongside the local system easily. currently only pupdates through ssh+apt, your ssh key probably needs to be in ssh-agent for this to function properly.
## usage
2024-10-08 16:51:22 -07:00
you can install easily using `cargo install pupdate`.
2024-10-08 15:52:30 -07:00
run `pupdate -h` for help with arguments. with no arguments, pupdate will update the local system and any remotes configured in the config file (default ~/.pupdate).
2024-10-08 16:43:42 -07:00
## config
```json
{
2024-10-08 16:43:57 -07:00
"remotes": ["username@remote"],
"log_dir": "/path/to/log/directory"
2024-10-08 16:43:42 -07:00
}
2024-10-08 16:43:57 -07:00
```
2024-10-08 16:43:42 -07:00
if `log_dir` is missing and is not provided when the command is run, no logs from pupdating will be saved.