Domain-agnostic rule engine and JSON configuration for Ankhorage.
Usage
CLI
Ankhorage packages expose their command-line interface through ankh. Use ankh --help to discover available package commands, or run a package command with --help for package-specific usage.
# Install the Ankhorage CLI
bun add --global @ankhorage/ankh
# Show usage information for rules
ankh rules --help
Validate Rules Configuration
Validate a repository rules.json file through the public generic Rules API.
import { readRulesConfigAsync } from '@ankhorage/rules';