Runegraft converts user input into typed Python objects automatically. Route placeholders and option annotations describe what the user should pass and ensure the CLI fails fast with helpful errors.Documentation Index
Fetch the complete documentation index at: https://runegraft.codesft.dev/llms.txt
Use this file to discover all available pages before exploring further.
Built-in converters
You can reference these in route patterns (e.g.,<url:url>) or via type hints:
str,int,float,boolurlfor HTTP/HTTPS URLsuuidfor UUID stringsjsonfor JSON objects/arrays (parsed into Python types)
Custom converters
Define your own converter when you need stricter rules or domain-specific validation:<port:port>) and annotate the parameter to keep type checkers happy.
Validation experience
- Errors surface before your function runs, with messages that include the expected type.
- Help text shows converter names so users know what each argument expects.
- Combine converters with Options & Flags to accept structured input everywhere.