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

Add command to export all EXPRESS schemas (*.exp) without annotations #6

Open
ronaldtse opened this issue Jun 20, 2024 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@ronaldtse
Copy link
Contributor

ronaldtse commented Jun 20, 2024

e.g.

$ suma extract-express -o express-files -a additional-schemas.yml [metanorma-srl.yml]

Results:

express-files/
+- business_object_models/
+- core_model/
+- domain_models/
+- resources/
   +- action_schema/
      +- action_schema.exp

The *.exp files are defined in:

  • resources come from metanorma-srl.yml
  • business_object_models, core_model, domain_models are developed outside the SRL/Metanorma, and we need to find a way to list them. Maybe an additional schema listing file.

Zipping:

$ suma extract-express -o express-files.zip -a additional-schemas.yml [metanorma-srl.yml]

Results:

express-files.zip

Which extracts out the above structure.

@ronaldtse ronaldtse added the enhancement New feature or request label Jun 20, 2024
@ronaldtse ronaldtse self-assigned this Jun 20, 2024
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

1 participant