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: Added cli docs for extractions command #27

Merged
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 @@ -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]
```