2024-09-25 01:32:21 +10:00
|
|
|
command = "yarn"
|
|
|
|
|
|
2024-09-24 17:49:18 +02:00
|
|
|
[[match_err]]
|
|
|
|
|
pattern = [
|
|
|
|
|
"not found"
|
|
|
|
|
]
|
|
|
|
|
suggest = [
|
|
|
|
|
'''
|
|
|
|
|
#[err_contains(command)]
|
|
|
|
|
{{command[0]}} {{typo[1](
|
|
|
|
|
access,
|
|
|
|
|
add,
|
|
|
|
|
audit,
|
|
|
|
|
autoclean,
|
|
|
|
|
bin,
|
|
|
|
|
cache,
|
|
|
|
|
check,
|
|
|
|
|
config,
|
|
|
|
|
create,
|
|
|
|
|
exec,
|
|
|
|
|
generate-lock-entry,
|
|
|
|
|
generateLockEntry,
|
|
|
|
|
global,
|
|
|
|
|
help,
|
|
|
|
|
import,
|
|
|
|
|
info,
|
|
|
|
|
init,
|
|
|
|
|
install,
|
|
|
|
|
licenses,
|
|
|
|
|
link,
|
|
|
|
|
list,
|
|
|
|
|
login,
|
|
|
|
|
logout,
|
|
|
|
|
node,
|
|
|
|
|
outdated,
|
|
|
|
|
owner,
|
|
|
|
|
pack,
|
|
|
|
|
policies,
|
|
|
|
|
publish,
|
|
|
|
|
remove,
|
|
|
|
|
run,
|
|
|
|
|
tag,
|
|
|
|
|
team,
|
|
|
|
|
unlink,
|
|
|
|
|
unplug,
|
|
|
|
|
upgrade,
|
|
|
|
|
upgrade-interactive,
|
|
|
|
|
upgradeInteractive,
|
|
|
|
|
version,
|
|
|
|
|
versions,
|
|
|
|
|
why,
|
|
|
|
|
workspace,
|
|
|
|
|
workspaces
|
|
|
|
|
)}} {{command[2:]}} '''
|
|
|
|
|
]
|
|
|
|
|
|
2024-09-25 01:32:21 +10:00
|
|
|
[[match_err]]
|
|
|
|
|
pattern = [
|
2025-01-04 22:30:19 +01:00
|
|
|
"`install` has been replaced with `add`"
|
2024-09-25 01:32:21 +10:00
|
|
|
]
|
|
|
|
|
suggest = [
|
|
|
|
|
'''
|
|
|
|
|
yarn add {{command[2:]}} '''
|
|
|
|
|
]
|