From 91d893a6e0509a63dfb7b00558b3e13878340be6 Mon Sep 17 00:00:00 2001 From: Muskan B Date: Wed, 15 Nov 2023 00:19:53 +0530 Subject: [PATCH] feat(cli): added documentation for apply decorators (#26) Signed-off-by: Muskan Bararia Co-authored-by: Muskan Bararia --- docs/tools/ref-concerto-cli.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/tools/ref-concerto-cli.md b/docs/tools/ref-concerto-cli.md index bf52f47..667124e 100644 --- a/docs/tools/ref-concerto-cli.md +++ b/docs/tools/ref-concerto-cli.md @@ -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] +``` \ No newline at end of file