plantuml: add metadata-related commands (#12763)

pull/28/head
SeWook Oh 2024-05-10 17:26:06 +01:00 committed by GitHub
parent 6800e10915
commit 50f5a42106
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

@ -19,6 +19,14 @@
`plantuml -o {{path/to/output}} {{diagram.puml}}` `plantuml -o {{path/to/output}} {{diagram.puml}}`
- Render a diagram without storing the diagram's source code (Note: It's stored by default when the `-nometadata` option isn't specified):
`plantuml -nometadata {{diagram.png}} > {{diagram.puml}}`
- Retrieve source from a `plantuml` diagram's metadata:
`plantuml -metadata {{diagram.png}} > {{diagram.puml}}`
- Render a diagram with the configuration file: - Render a diagram with the configuration file:
`plantuml -config {{config.cfg}} {{diagram.puml}}` `plantuml -config {{config.cfg}} {{diagram.puml}}`