mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 14:30:10 +01:00
20 lines
377 B
TOML
20 lines
377 B
TOML
command = "cargo"
|
|
|
|
[[match_err]]
|
|
pattern = [
|
|
"no such command"
|
|
]
|
|
suggest = [
|
|
'''
|
|
#[err_contains(did you mean)]
|
|
{{command[0]}} {{err::(?:did you mean `)(.*)(?:`\?)}} {{command[2:]}} '''
|
|
]
|
|
|
|
[[match_err]]
|
|
pattern = [
|
|
"using `cargo install` to install the binaries from the package in current working directory is no longer supported",
|
|
]
|
|
suggest = [
|
|
'''
|
|
{{command}} --path .'''
|
|
]
|