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!
...just create a config file in `~/.config/upgr/config.toml`
...just create a config file in `~/.config/upgr/config.lua`
and add your commands!
```toml
[[steps]]
command = "apt update && apt upgrade"
[[steps]]
command = "rustup update"
```lua
steps = {
{
command = "apt update && apt upgrade",
},
{
command = "rustup update",
}
}
```
then run `upgr` to ugprade!