Skip to content

Commit

Permalink
feat: Added cli docs for extractions command
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 15, 2023
1 parent 91d893a commit 7d39302
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 @@ -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]
```

0 comments on commit 7d39302

Please sign in to comment.