@accordproject/concerto-cli
Command-line utility for working with Concerto model files
Last updated 5 months ago by mttrbrts .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @accordproject/concerto-cli 
SYNC missed versions from official npm registry.

Concerto CLI

Command line tool for Concerto.

Usage

concerto <cmd> [args]

Commands:
  concerto validate  validate JSON against model files
  concerto compile   generate code for a target platform
  concerto get       save local copies of external model dependencies

Options:
  --version      Show version number                                   [boolean]
  --verbose, -v                                                 [default: false]
  --help         Show help                                             [boolean]

Concerto validate

The validate command lets you check whether a JSON sample is a valid instance of the given model.

concerto validate

validate JSON against model files

Options:
  --version      Show version number                                   [boolean]
  --verbose, -v                                                 [default: false]
  --help         Show help                                             [boolean]
  --sample       sample JSON to validate       [string] [default: "sample.json"]
  --ctoSystem    system model to be used                                [string]
  --ctoFiles     array of CTO files                       [array] [default: "."]

Concerto compile

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

concerto compile

generate code for a target platform

Options:
  --version      Show version number                                   [boolean]
  --verbose, -v                                                 [default: false]
  --help         Show help                                             [boolean]
  --ctoSystem    system model to be used                                [string]
  --ctoFiles     array of CTO files                       [array] [default: "."]
  --target       target of the code generation  [string] [default: "JSONSchema"]
  --output       output directory path           [string] [default: "./output/"]

Go Lang

concerto compile --ctoFiles modelfile.cto --target Go

Plant UML

concerto compile --ctoFiles modelfile.cto --target PlantUML

Typescript

concerto compile --ctoFiles modelfile.cto --target Typescript

Java

concerto compile --ctoFiles modelfile.cto --target Java

JSONSchema

concerto compile --ctoFiles modelfile.cto --target JSONSchema

XMLSchema

concerto compile --ctoFiles modelfile.cto --target XMLSchema

Concerto Get

The get command allows you to resolve and download external models from a set of local CTO files.

concerto get

save local copies of external model dependencies

Options:
  --version      Show version number                                   [boolean]
  --verbose, -v                                                 [default: false]
  --help         Show help                                             [boolean]
  --ctoFiles     array of local CTO files                 [array] [default: "."]
  --ctoSystem    system model to be used                                [string]
  --output       output directory path                  [string] [default: "./"]

License

Accord Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Accord Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.

Current Tags

  • 0.82.7                                ...           latest (5 months ago)
  • 0.82.8-20200718103315                                ...           unstable (19 days ago)

125 Versions

  • 0.82.8-20200718103315                                ...           19 days ago
  • 0.82.8-20200630111007                                ...           a month ago
  • 0.82.8-20200630102823                                ...           a month ago
  • 0.82.8-20200630102054                                ...           a month ago
  • 0.82.8-20200618130258                                ...           2 months ago
  • 0.82.8-20200618124832                                ...           2 months ago
  • 0.82.8-20200515104711                                ...           3 months ago
  • 0.82.8-20200416213441                                ...           4 months ago
  • 0.82.8-20200407131648                                ...           4 months ago
  • 0.82.8-20200406210444                                ...           4 months ago
  • 0.82.8-20200320081255                                ...           5 months ago
  • 0.82.8-20200316132715                                ...           5 months ago
  • 0.82.8-20200316084339                                ...           5 months ago
  • 0.82.8-20200311022340                                ...           5 months ago
  • 0.82.8-20200310044355                                ...           5 months ago
  • 0.82.8-20200310032830                                ...           5 months ago
  • 0.82.8-20200310032805                                ...           5 months ago
  • 0.82.8-20200310032720                                ...           5 months ago
  • 0.82.8-20200310031950                                ...           5 months ago
  • 0.82.8-20200309180138                                ...           5 months ago
  • 0.82.8-20200309174310                                ...           5 months ago
  • 0.82.8-20200309142945                                ...           5 months ago
  • 0.82.8-20200302211137                                ...           5 months ago
  • 0.82.8-20200302160039                                ...           5 months ago
  • 0.82.8-20200226170015                                ...           5 months ago
  • 0.82.8-20200226164219                                ...           5 months ago
  • 0.82.8-20200226162158                                ...           5 months ago
  • 0.82.7                                ...           5 months ago
  • 0.82.7-20200226161700                                ...           5 months ago
  • 0.82.7-20200226160358                                ...           5 months ago
  • 0.82.7-20200206212133                                ...           6 months ago
  • 0.82.7-20200206212100                                ...           6 months ago
  • 0.82.7-20200206092307                                ...           6 months ago
  • 0.82.7-20200204030226                                ...           6 months ago
  • 0.82.7-20200203205553                                ...           6 months ago
  • 0.82.7-20200203164037                                ...           6 months ago
  • 0.82.7-20200125192939                                ...           6 months ago
  • 0.82.7-20200119052702                                ...           7 months ago
  • 0.82.7-20200117201932                                ...           7 months ago
  • 0.82.7-20191219161046                                ...           8 months ago
  • 0.82.7-20191219144235                                ...           8 months ago
  • 0.82.7-20191212180105                                ...           8 months ago
  • 0.82.7-20191212154456                                ...           8 months ago
  • 0.82.7-20191212145850                                ...           8 months ago
  • 0.82.7-20191112195251                                ...           9 months ago
  • 0.82.6                                ...           9 months ago
  • 0.82.6-20191112194248                                ...           9 months ago
  • 0.82.6-20191111200441                                ...           9 months ago
  • 0.82.5                                ...           9 months ago
  • 0.82.5-20191111192434                                ...           9 months ago
  • 0.82.5-20191111174827                                ...           9 months ago
  • 0.82.5-20191106112857                                ...           9 months ago
  • 0.82.5-20191029153213                                ...           9 months ago
  • 0.82.5-20191029152101                                ...           9 months ago
  • 0.82.4                                ...           9 months ago
  • 0.82.4-20191028145313                                ...           9 months ago
  • 0.82.4-20191026152536                                ...           9 months ago
  • 0.82.3                                ...           9 months ago
  • 0.82.3-20191026151725                                ...           9 months ago
  • 0.82.3-20191023041530                                ...           9 months ago
  • 0.82.2                                ...           9 months ago
  • 0.82.2-20191023041204                                ...           9 months ago
  • 0.82.2-20191022134922                                ...           9 months ago
  • 0.82.2-20191022134426                                ...           9 months ago
  • 0.82.2-20191022022101                                ...           10 months ago
  • 0.82.2-20191019203950                                ...           10 months ago
  • 0.82.2-20191019123411                                ...           10 months ago
  • 0.82.2-20191019115821                                ...           10 months ago
  • 0.82.2-20191017182947                                ...           10 months ago
  • 0.82.1                                ...           10 months ago
  • 0.82.1-20191017153557                                ...           10 months ago
  • 0.82.1-20191017004637                                ...           10 months ago
  • 0.82.1-20191016194305                                ...           10 months ago
  • 0.82.0                                ...           10 months ago
  • 0.81.2-20191016192349                                ...           10 months ago
  • 0.81.2-20191016191459                                ...           10 months ago
  • 0.81.2-20191016191431                                ...           10 months ago
  • 0.81.2-20191012170645                                ...           10 months ago
  • 0.81.2-20191011143532                                ...           10 months ago
  • 0.81.2-20191009212630                                ...           10 months ago
  • 0.81.2-20191008191111                                ...           10 months ago
  • 0.81.2-20191008175216                                ...           10 months ago
  • 0.81.1                                ...           10 months ago
  • 0.81.1-20191008174233                                ...           10 months ago
  • 0.81.1-20191008173800                                ...           10 months ago
  • 0.81.1-20191008173529                                ...           10 months ago
  • 0.81.1-20191008172854                                ...           10 months ago
  • 0.81.1-20191007140333                                ...           10 months ago
  • 0.81.1-20191006200835                                ...           10 months ago
  • 0.81.0                                ...           10 months ago
  • 0.80.4-20191006194806                                ...           10 months ago
  • 0.80.4-20191006185014                                ...           10 months ago
  • 0.80.4-20191006183811                                ...           10 months ago
  • 0.80.4-20191006144417                                ...           10 months ago
  • 0.80.4-20191005194540                                ...           10 months ago
  • 0.80.4-20191005131712                                ...           10 months ago
  • 0.80.4-20191004184911                                ...           10 months ago
  • 0.80.4-20191004152451                                ...           10 months ago
  • 0.80.4-20191004145703                                ...           10 months ago
  • 0.80.4-20191004042248                                ...           10 months ago
  • 0.80.4-20191004005348                                ...           10 months ago
  • 0.80.4-20191004004133                                ...           10 months ago
  • 0.80.4-20191003235400                                ...           10 months ago
  • 0.80.4-20191003231621                                ...           10 months ago
  • 0.80.4-20191003155034                                ...           10 months ago
  • 0.80.4-20191003141535                                ...           10 months ago
  • 0.80.4-20191003114436                                ...           10 months ago
  • 0.80.4-20191003082908                                ...           10 months ago
  • 0.80.4-20191002122338                                ...           10 months ago
  • 0.80.4-20191002070725                                ...           10 months ago
  • 0.80.4-20191002070543                                ...           10 months ago
  • 0.80.4-20191002062052                                ...           10 months ago
  • 0.80.4-20191001132607                                ...           10 months ago
  • 0.80.4-20191001132104                                ...           10 months ago
  • 0.80.4-20190927165630                                ...           10 months ago
  • 0.80.3                                ...           10 months ago
  • 0.80.3-20190927165102                                ...           10 months ago
  • 0.80.3-20190927160814                                ...           10 months ago
  • 0.80.3-20190927160708                                ...           10 months ago
  • 0.80.2                                ...           10 months ago
  • 0.80.2-20190927153010                                ...           10 months ago
  • 0.80.2-20190927152605                                ...           10 months ago
  • 0.80.2-20190927134550                                ...           10 months ago
  • 0.80.2-20190926121100                                ...           10 months ago
  • 0.80.1                                ...           10 months ago
Downloads
Today 125
This Week 125
This Month 125
Last Day 0
Last Week 0
Last Month 262
Dependencies (5)
Dev Dependencies (18)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |