mix atex.lexicons.resolve
(atex v0.9.1)
View Source
Resolve published AT Protocol lexicons by NSID and write them to JSON files.
Lexicon schemas are published as records in atproto repositories. This task
resolves one or more NSIDs using DNS-based authority lookup (via
_lexicon.<authority> TXT records) and fetches the schema directly from the
authoritative PDS, then writes each schema to disk as a JSON file.
See Atex.Lexicon.Resolver for programmatic usage.
Usage
mix atex.lexicons.resolve [OPTIONS] <NSID> [<NSID> ...]Arguments
NSID- One or more AT Protocol NSIDs to resolve.
Options
-o/--output- Output directory for resolved lexicon JSON files (default:lexicons).
Examples
Resolve a single lexicon:
mix atex.lexicons.resolve app.bsky.feed.postResolve multiple lexicons into a custom directory:
mix atex.lexicons.resolve --output priv/lexicons app.bsky.feed.post com.atproto.repo.createRecord