Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
specarch
command
Command specarch checks SpecArch specifications and makes documents and code from them.
|
Command specarch checks SpecArch specifications and makes documents and code from them. |
|
specarch-gen-go-dxlib
command
Command specarch-gen-go-dxlib is the plug-in behind specarch generate go-dxlib: it writes the Go of a service on dxlib from a specification.
|
Command specarch-gen-go-dxlib is the plug-in behind specarch generate go-dxlib: it writes the Go of a service on dxlib from a specification. |
|
specarch-gen-openapi
command
Command specarch-gen-openapi is the plug-in behind specarch generate openapi: it writes the OpenAPI 3.1 document of a specification, in the standard dialect.
|
Command specarch-gen-openapi is the plug-in behind specarch generate openapi: it writes the OpenAPI 3.1 document of a specification, in the standard dialect. |
|
specarch-gen-sql
command
Command specarch-gen-sql is the plug-in behind specarch generate sql: it writes the SQL migrations of a specification in the dialect of the target, through the type-rendering idiom.
|
Command specarch-gen-sql is the plug-in behind specarch generate sql: it writes the SQL migrations of a specification in the dialect of the target, through the type-rendering idiom. |
|
specarch-gen-tests-dart
command
Command specarch-gen-tests-dart is the plug-in behind specarch generate tests for an implementation file whose language is Dart.
|
Command specarch-gen-tests-dart is the plug-in behind specarch generate tests for an implementation file whose language is Dart. |
|
specarch-gen-tests-go
command
Command specarch-gen-tests-go is the plug-in behind specarch generate tests for an implementation file whose language is Go.
|
Command specarch-gen-tests-go is the plug-in behind specarch generate tests for an implementation file whose language is Go. |
|
specarch-gen-tests-swift
command
Command specarch-gen-tests-swift is the plug-in behind specarch generate tests for an implementation file whose language is Swift.
|
Command specarch-gen-tests-swift is the plug-in behind specarch generate tests for an implementation file whose language is Swift. |
|
specarch-gen-ui
command
Command specarch-gen-ui is the plug-in behind specarch generate ui: it writes the screens of a specification for the web in plain JavaScript.
|
Command specarch-gen-ui is the plug-in behind specarch generate ui: it writes the screens of a specification for the web in plain JavaScript. |
|
Package idioms embeds the idioms SpecArch ships, so a project that installs one release has one idiom set.
|
Package idioms embeds the idioms SpecArch ships, so a project that installs one release has one idiom set. |
|
internal
|
|
|
approval
Package approval reads and writes the record that says the owner read the documents of a specification and approves it for code generation.
|
Package approval reads and writes the record that says the owner read the documents of a specification and approves it for code generation. |
|
diff
Package diff compares two versions of a specification element by element and classifies each difference by the version step it needs, as docs/maintenance.md (The diff verb) describes.
|
Package diff compares two versions of a specification element by element and classifies each difference by the version step it needs, as docs/maintenance.md (The diff verb) describes. |
|
expr
Package expr is SpecArch's expression subset of CEL: it parses with the CEL parser, refuses whatever is outside the subset, checks types and evaluates with exact numbers.
|
Package expr is SpecArch's expression subset of CEL: it parses with the CEL parser, refuses whatever is outside the subset, checks types and evaluates with exact numbers. |
|
extract
Package extract holds the readers of specarch extract.
|
Package extract holds the readers of specarch extract. |
|
gendxlib
Package gendxlib writes the Go of a service on dxlib from a specification: the logic of the specarch-gen-go-dxlib plug-in.
|
Package gendxlib writes the Go of a service on dxlib from a specification: the logic of the specarch-gen-go-dxlib plug-in. |
|
generate
Package generate writes documents from SpecArch files.
|
Package generate writes documents from SpecArch files. |
|
genopenapi
Package genopenapi writes the OpenAPI 3.1 document of a specification: the logic of the specarch-gen-openapi plug-in, in the standard dialect.
|
Package genopenapi writes the OpenAPI 3.1 document of a specification: the logic of the specarch-gen-openapi plug-in, in the standard dialect. |
|
gensql
Package gensql writes the SQL migrations of a specification: the logic of the specarch-gen-sql plug-in.
|
Package gensql writes the SQL migrations of a specification: the logic of the specarch-gen-sql plug-in. |
|
gentests
Package gentests writes the tests of a specification's design tests and worked examples, in Go, Swift or Dart: the logic of the specarch-gen-tests-go, -swift and -dart plug-ins.
|
Package gentests writes the tests of a specification's design tests and worked examples, in Go, Swift or Dart: the logic of the specarch-gen-tests-go, -swift and -dart plug-ins. |
|
genui
Package genui writes the screens of a specification for the web in plain JavaScript: the logic of the specarch-gen-ui plug-in.
|
Package genui writes the screens of a specification for the web in plain JavaScript: the logic of the specarch-gen-ui plug-in. |
|
ownership
Package ownership reads the ownedBy marks of an implementation file's mappings, which every generator follows: an element another stakeholder owns, and everything under its pointer, is described and compared but never generated (ADR-046).
|
Package ownership reads the ownedBy marks of an implementation file's mappings, which every generator follows: an element another stakeholder owns, and everything under its pointer, is described and compared but never generated (ADR-046). |
|
semver
Package semver reads and orders Semantic Versioning 2.0.0 versions and says how far one steps from another.
|
Package semver reads and orders Semantic Versioning 2.0.0 versions and says how far one steps from another. |
|
source
Package source reads a SpecArch YAML file into a node tree that keeps the line of every value, and into the plain value the JSON Schema check needs.
|
Package source reads a SpecArch YAML file into a node tree that keeps the line of every value, and into the plain value the JSON Schema check needs. |
|
spec
Package spec reads a SpecArch specification from disk: the root file specarch.yaml and the stage folders beside it, merged into one document the validator and the generators work on.
|
Package spec reads a SpecArch specification from disk: the root file specarch.yaml and the stage folders beside it, merged into one document the validator and the generators work on. |
|
typerows
Package typerows matches a field of the design to a row of a type rendering (docs/idioms.md, "Stacks and type rows").
|
Package typerows matches a field of the design to a row of a type rendering (docs/idioms.md, "Stacks and type rows"). |
|
validate
Package validate checks SpecArch specifications and implementation files: the JSON Schema of their kind first, then the rules a schema cannot express.
|
Package validate checks SpecArch specifications and implementation files: the JSON Schema of their kind first, then the rules a schema cannot express. |
|
Package schema embeds the meta-model's JSON Schemas, the same files editors load, so the validator and the editors share one definition.
|
Package schema embeds the meta-model's JSON Schemas, the same files editors load, so the validator and the editors share one definition. |
Click to show internal directories.
Click to hide internal directories.