add review bool to toolkit

This commit is contained in:
endigma 2023-08-31 12:16:43 -03:00
parent cfd191b967
commit 8be3a6a0ae
Signed by: endigma
GPG Key ID: 915867AD1D297D9F
2 changed files with 747 additions and 855 deletions

File diff suppressed because one or more lines are too long

View File

@ -64,6 +64,19 @@ def kindOf [client_side: string, server_side: string] string {
} }
} }
export def review [...review: string] {
(
open all.json |
upsert review {
if $in.slug in $review {
true
}
} |
save all.json -f
)
updateMods
}
export def conflicts [mod: string, ...conflicts: string] { export def conflicts [mod: string, ...conflicts: string] {
( (
open all.json | open all.json |