1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 05:42:09 +02:00

plantuml: add metadata-related commands (#12763)

This commit is contained in:
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

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}}`