···4545the CLI discovers these mappings from packages listed in the `imports` array. available template
4646expansions:
47474848-- `./` at the start of the path is replaced with the package name (e.g., `./types/foo` becomes
4949- `@atcute/atproto/types/foo`)
4848+- `.` or `./` at the start of the path is replaced with the package name (e.g., `./types/foo` becomes
4949+ `@atcute/atproto/types/foo`, or `.` becomes `@atcute/atproto`)
5050- `{{nsid}}` is replaced with the full NSID (e.g., `com/atproto/sync/subscribeRepos`)
5151- `{{nsid_prefix}}` is replaced with the part before the wildcard (e.g., `com/atproto`)
5252- `{{nsid_remainder}}` is replaced with the part after the prefix (e.g., `sync/subscribeRepos`)
+2-2
packages/lexicons/lex-cli/README.md
···45454646the `path` field supports several template expansions:
47474848-- `./` at the start is replaced with the package name (e.g., `./types/foo` becomes
4949- `@example/my-schemas/types/foo`)
4848+- `.` or `./` at the start is replaced with the package name (e.g., `./types/foo` becomes
4949+ `@example/my-schemas/types/foo`, or `.` becomes `@example/my-schemas`)
5050- `{{nsid}}` - the full NSID with dots replaced by slashes (e.g., `com/example/foo/bar`)
5151- `{{nsid_prefix}}` - the part before the wildcard (e.g., `com/example`)
5252- `{{nsid_remainder}}` - the part after the prefix (e.g., `foo/bar`)