Skip to content

Commit

Permalink
feat(cli): added documentation for apply decorators
Browse files Browse the repository at this point in the history
Signed-off-by: Muskan Bararia <[email protected]>
  • Loading branch information
Muskan Bararia committed Nov 14, 2023
1 parent c5907e1 commit 1804aac
Showing 1 changed file with 18 additions and 0 deletions.
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]
```

0 comments on commit 1804aac

Please sign in to comment.