Model converters and tools for Concerto
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
contrib-notes
lib
scripts
test
.editorconfig
.eslintignore
.eslintrc.yml
.gitattributes
.gitignore
.npmignore
.npmrc
.tern-project
.travis.yml
CONTRIBUTING.md
ISSUE_TEMPLATE.md
LICENSE.txt
MAINTAINERS.md
PULL_REQUEST_TEMPLATE.md
README.md
cli.js
index.js
jsdoc.json
markdown-license.txt
package-lock.json
package.json
webpack.config.js
yarn.lock

README.md

composer-concerto-tools

Model converters and tools for Concerto format model files.

Install

npm install -g composer-concerto-tools

Code Generation

The code generators take an array of local CTO files, download any external dependencies (imports) and then convert all the model in the ModelManager to the target format.

Go Lang

node cli.js generate --ctoFiles modelfile.cto --format Go

Plant UML

node cli.js generate --ctoFiles modelfile.cto --format PlantUML

Typescript

node cli.js generate --ctoFiles modelfile.cto --format Typescript

Java

node cli.js generate --ctoFiles modelfile.cto --format Java

JSONSchema

node cli.js generate --ctoFiles modelfile.cto --format JSONSchema

XMLSchema

node cli.js generate --ctoFiles modelfile.cto --format XMLSchema