mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2026-02-01 23:25:11 +01:00
update: README
This commit is contained in:
parent
51f20139cd
commit
d29af0e3d7
1 changed files with 3 additions and 3 deletions
|
|
@ -20,14 +20,14 @@ Syntax of a rule file (placed under [rules](./rules)):
|
|||
# this field should be the name of the command
|
||||
command = "world"
|
||||
|
||||
# you can add as much section of like this as you like
|
||||
# you can add as much section of this as you like
|
||||
[[match_output]]
|
||||
# the suggestion of this section will be used for the following patterns of the command output
|
||||
pattern = [
|
||||
"pattern 1",
|
||||
"pattern 2",
|
||||
]
|
||||
# this will keep the change the second argument to `fix`
|
||||
# this will change the first argument to `fix`, while keeping the rest intact
|
||||
suggest = "{{command[0]}} fix {{command[2:]}}"
|
||||
|
||||
[[match_output]]
|
||||
|
|
@ -46,5 +46,5 @@ The placeholder is evaluated as following:
|
|||
|
||||
## Current Progress
|
||||
|
||||
Currently, only correction to `sudo` permission is implemented.
|
||||
We need more rule files!
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue