Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cli): added documentation for apply decorators #26

Merged
merged 1 commit into from
Nov 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions docs/tools/ref-concerto-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,3 +287,21 @@ Options:
[boolean] [default: false]
```

## concerto decorate
`concerto decorate` allows you to apply decorators and vocabularies to a list of models
```md
concerto decorate
apply the decorators and vocabs to the target models from given list of dcs files and vocab files
Options:
--models The file location of the source models
[array] [required]
--decorator The file location of decorators to be applied
[array]
--vocabulary The file location of vocabularies to be applied
[array]
--format The output format for models (cto or json)
[string] [default: cto]
--output The output directory path where you want your
generated models to be stored
[string]
```