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

Allow passing arguments to lutaml_uml_datamodel_description via options hash #50

Open
ronaldtse opened this issue Aug 24, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ronaldtse
Copy link
Contributor

ronaldtse commented Aug 24, 2021

Right now the syntax for data model description is:

[lutaml_uml_datamodel_description,../../xmi-full/full-242.xmi,lutaml_packages.yml]
----
...

But it requires a YAML file like this:

packages:
  - "Core"
  - "Appearance"
  - "CityFurniture"
  - "CityObjectGroup"
  - ...
section_depth: 3
render_style: entity_list

We should also accept a hash in the command to allow specification of these attributes:

  • section_depth=3
  • style="entity_list"; and
  • packages=Core,Appearance,xxx
@ronaldtse ronaldtse added the enhancement New feature or request label Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants