0.8.2 • Published 8 months ago
@atproto/lex-cli v0.8.2
Lexicon CLI Tool
Command-line tool to generate Lexicon schemas and APIs.
Usage
Usage: lex [options] [command]
Lexicon CLI
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
new [options] <nsid> [outfile] Create a new schema json file
gen-md <schemas...> Generate markdown documentation
gen-ts-obj <schemas...> Generate a TS file that exports an array of schemas
gen-api <outdir> <schemas...> Generate a TS client API
gen-server <outdir> <schemas...> Generate a TS server API
help [command] display help for commandExample 1: Generate an api
$ lex gen-api ./api/src ./schemas/com/service/*.json ./schemas/com/another/*.jsonExample 2: Generate a server
$ lex gen-server ./server/src/xrpc ./schemas/com/service/*.json ./schemas/com/another/*.jsonLicense
This project is dual-licensed under MIT and Apache 2.0 terms:
- MIT license (LICENSE-MIT.txt or http://opensource.org/licenses/MIT)
- Apache License, Version 2.0, (LICENSE-APACHE.txt or http://www.apache.org/licenses/LICENSE-2.0)
Downstream projects and end users may chose either license individually, or both together, at their discretion. The motivation for this dual-licensing is the additional software patent assurance provided by Apache 2.0.
0.5.7
12 months ago
0.8.1
9 months ago
0.7.2
10 months ago
0.5.4
1 year ago
0.8.0
10 months ago
0.7.1
11 months ago
0.6.2
11 months ago
0.5.3
1 year ago
0.5.6
1 year ago
0.8.2
8 months ago
0.5.5
1 year ago
0.7.0
11 months ago
0.6.1
12 months ago
0.5.2
1 year ago
0.6.0
12 months ago
0.5.1
1 year ago
0.5.0-rc.1
1 year ago
0.5.0
1 year ago
0.4.1
1 year ago
0.5.0-rc.0
2 years ago
0.4.0
2 years ago
0.3.2
2 years ago
0.3.2-next.0
2 years ago
0.3.1
2 years ago
0.3.0
2 years ago
0.2.5
2 years ago
0.2.3
2 years ago
0.2.4
2 years ago
0.2.1
2 years ago
0.2.0
3 years ago
0.2.2
2 years ago
0.1.0
3 years ago