-
Notifications
You must be signed in to change notification settings - Fork 2
Rule Templates
cinnamon-rolls edited this page Jul 14, 2021
·
1 revision
The most simple Rule Template is the Default
template. Everything else is just
an optimization or specialization on top of that template, and behind the
scenes, everything boils down to that Default
template. So, if there is any
template you study, make it the Default
template.
-
default
(see blow) - Rule Template: Helicopter Parent
- Rule Template: Mutual Exclusion
- Rule Template: Tag Disambiguation
This is the simplest template. Objects of this template are an object with the following keys:
Key | Value |
---|---|
name |
The name of the rule (for human readers) |
note |
The description of the rule, like a comment |
search |
The Search that reveals faulty files |
disabled |
If a truthy value, then the rule will be disabled |
Example
{
"name": "Character Without Series",
"note": "Files with a 'character' tag should also have a 'series' tag.",
"search": [
"character:*",
"-series:*",
"-character:character request",
"-meta:character request",
"-character:original"
]
}