Structs§
Functions§
- build_
registry - custom_
dispatch - Looks up the command in the runtime custom registry (project-local
.safe-chains.toml, then user-level~/.config/safe-chains.toml). A match here wins over the built-in hardcoded handlers, which is how an override ofghtakes effect. - dispatch_
spec - load_
toml - toml_
command_ docs - toml_
command_ names - toml_
dispatch - try_
fallback_ grammar - Apply
cmd_name’s TOML-declared[command.fallback]grammar. ReturnsNoneif no fallback is declared. - try_
sub_ dispatch - Look up
cmd_name’s TOML-declared subs (set via[[command.sub]]blocks alongsidehandler = "...") and dispatch the one whose name matchestokens[1]. ReturnsNoneif no sub matched, so the handler can fall through to its fallback grammar (or deny).