Command reference
ed attention rules import
Validates a JSON rule document and merges categories and rules by stable ID. Existing entries omitted from the document remain unchanged. All validation finishes before anything is saved. Run the same import again to update the same rules without creating duplicates.
ed attention rules import rules.json --dry-run --jsoned attention rules import rules.json --jsonThe document must contain categories and rules arrays. Use an empty categories
array to import rules targeting existing categories. Rule IDs must be unique,
category IDs must be unique, names cannot be empty, categories must exist and
rules must have match criteria. The JSON response reports input counts and
whether the changes were saved.