pay-respects-module-runtime-rules

Crates.iopay-respects-module-runtime-rules
lib.rspay-respects-module-runtime-rules
version0.1.10
created_at2024-12-08 16:58:22.835563+00
updated_at2025-04-22 14:40:17.404318+00
descriptionRuntime rules module for the pay-respects CLI tool
homepagehttps://codeberg.org/iff/pay-respects
repositoryhttps://github.com/iffse/pay-respects
max_upload_size
id1476441
size20,635
iff (iffse)

documentation

README

Runtime Rules Module

Module for pay-respects which allows you to add rules at runtime.

Syntax is currently 100% compatible with upstream's compile-time rules.

Rules are searched in these directories:

  • XDG_CONFIG_HOME, defaults to $HOME/.config.
  • XDG_CONFIG_DIRS, defaults to /etc/xdg.
  • XDG_DATA_DIRS, defaults to /usr/local/share:/usr/share.

The actual rule file should be placed under pay-respects/rules/, for example: ~/.config/pay-respects/rules/cargo.toml. To avoid parsing unnecessary rules, the name of the file MUST match the command name.

An exception is _PR_GENERAL.toml that is always parsed.

Commit count: 608

cargo fmt