update readme with lua config

This commit is contained in:
LordMZTE 2021-10-12 23:30:57 +02:00
parent 0f37d94625
commit f4944d6c9c

View file

@ -3,14 +3,17 @@ The ultimate system upgrade solution!
Tired of running a bunch of commands to update your system? Combine them into one with upgr! Tired of running a bunch of commands to update your system? Combine them into one with upgr!
...just create a config file in `~/.config/upgr/config.toml` ...just create a config file in `~/.config/upgr/config.lua`
and add your commands! and add your commands!
```toml ```lua
[[steps]] steps = {
command = "apt update && apt upgrade" {
command = "apt update && apt upgrade",
[[steps]] },
command = "rustup update" {
command = "rustup update",
}
}
``` ```
then run `upgr` to ugprade! then run `upgr` to ugprade!