From 7d39302be67d2f0c4f2d5ef89a133d821d4f3979 Mon Sep 17 00:00:00 2001 From: Muskan Bararia Date: Wed, 15 Nov 2023 18:28:27 +0530 Subject: [PATCH] feat: Added cli docs for extractions command Signed-off-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 667124e..8bfa8be 100644 --- a/docs/tools/ref-concerto-cli.md +++ b/docs/tools/ref-concerto-cli.md @@ -304,4 +304,22 @@ Options: --output The output directory path where you want your generated models to be stored [string] +``` + +## concerto extract-decorators +`concerto extract-decorators` allows you to extract the decorator command sets and vocabularies from a list of model files and optionally remove those decorators from source models. +```md +concerto extract-decorators +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] + --locale The locale for extracted vocabularies + [string] [default: en] + --removeDecoratorsFromSource The flag to determine whether to remove + decorators from source + [boolean] [default: false] + --output The output directory path where you want your + generated models to be stored + [string] [default :output] ``` \ No newline at end of file