update readme with lua config
This commit is contained in:
parent
0f37d94625
commit
f4944d6c9c
17
README.md
17
README.md
|
@ -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!
|
||||||
|
|
Loading…
Reference in a new issue