Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
bawarchi
command
Command bawarchi generates standalone CLIs from API specs.
|
Command bawarchi generates standalone CLIs from API specs. |
|
internal
|
|
|
compiler
Package compiler builds a generated CLI's Go source into a binary.
|
Package compiler builds a generated CLI's Go source into a binary. |
|
generator
Package generator renders a parser.CLIData into a self-contained Go main.go for the target transport (REST or gRPC).
|
Package generator renders a parser.CLIData into a self-contained Go main.go for the target transport (REST or gRPC). |
|
parser
Package parser reads OpenAPI 3.x, Swagger 2.0, and .proto specs into the CLIData representation consumed by internal/generator.
|
Package parser reads OpenAPI 3.x, Swagger 2.0, and .proto specs into the CLIData representation consumed by internal/generator. |
|
registry
Package registry persists metadata about generated CLIs (name, source spec, cached spec bytes, base URL) under ~/.bawarchi so they can be listed, updated, and removed.
|
Package registry persists metadata about generated CLIs (name, source spec, cached spec bytes, base URL) under ~/.bawarchi so they can be listed, updated, and removed. |
Click to show internal directories.
Click to hide internal directories.