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-bpmn
command
Command specarch-gen-bpmn is the plug-in behind specarch generate bpmn: it writes each workflow of a specification as a BPMN 2.0 XML file with its diagram, and the diagram as SVG.
|
Command specarch-gen-bpmn is the plug-in behind specarch generate bpmn: it writes each workflow of a specification as a BPMN 2.0 XML file with its diagram, and the diagram as SVG. |
|
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. |
|
specarch-gen-ui-typescript
command
Command specarch-gen-ui-typescript is the plug-in behind specarch generate ui for an implementation file in TypeScript: it writes the screens of a specification for Next.js's app router and IBM's Carbon design system.
|
Command specarch-gen-ui-typescript is the plug-in behind specarch generate ui for an implementation file in TypeScript: it writes the screens of a specification for Next.js's app router and IBM's Carbon design system. |
|
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. |
|
genbpmn
Package genbpmn writes the workflows of a specification as BPMN 2.0: the logic of the specarch-gen-bpmn plug-in.
|
Package genbpmn writes the workflows of a specification as BPMN 2.0: the logic of the specarch-gen-bpmn plug-in. |
|
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. |
|
genuits
Package genuits writes the screens of a specification for the web in TypeScript, on Next.js's app router and IBM's Carbon design system: the logic of the specarch-gen-ui-typescript plug-in.
|
Package genuits writes the screens of a specification for the web in TypeScript, on Next.js's app router and IBM's Carbon design system: the logic of the specarch-gen-ui-typescript plug-in. |
|
literal
Package literal reads a TypeScript file that holds one object literal of data, in the subset of TypeScript that is also JSON5, and compares two such files by value (ADR-093).
|
Package literal reads a TypeScript file that holds one object literal of data, in the subset of TypeScript that is also JSON5, and compares two such files by value (ADR-093). |
|
mark
Package mark places a specification's problems at the entries a generated file shows (docs/diagnostics.md, section 5): the rule every generator plug-in marks its output by, so each target puts a problem at the same entry and writes only its own comment form.
|
Package mark places a specification's problems at the entries a generated file shows (docs/diagnostics.md, section 5): the rule every generator plug-in marks its output by, so each target puts a problem at the same entry and writes only its own comment form. |
|
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). |
|
problems
Package problems gathers every problem of a specification, the errors and warnings validate finds and the open questions, into one list, and writes it as the problems file and as a SARIF 2.1.0 log (ADR-065).
|
Package problems gathers every problem of a specification, the errors and warnings validate finds and the open questions, into one list, and writes it as the problems file and as a SARIF 2.1.0 log (ADR-065). |
|
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. |
|
wirename
Package wirename writes a property's name as it goes on the wire, by the rule info.wireNames names (ADR-062), and a role's, by the rule info.roleNames names (ADR-099).
|
Package wirename writes a property's name as it goes on the wire, by the rule info.wireNames names (ADR-062), and a role's, by the rule info.roleNames names (ADR-099). |
|
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. |
|
tools
|
|
|
fragment-schemas
command
Command fragment-schemas writes the schema of each kind of fragment file from the design schema, and points every fragment of the repository's own specifications at its schema.
|
Command fragment-schemas writes the schema of each kind of fragment file from the design schema, and points every fragment of the repository's own specifications at its schema. |
Click to show internal directories.
Click to hide internal directories.