mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 05:42:09 +02:00
plantuml: add page (#4040)
Co-authored-by: Zlatan Vasović <zlatanvasovic@gmail.com>
This commit is contained in:
parent
1066bbf719
commit
0265e42443
1 changed files with 28 additions and 0 deletions
28
pages/common/plantuml.md
Normal file
28
pages/common/plantuml.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# plantuml
|
||||
|
||||
> Create UML diagrams from a plain text language and render them in different formats.
|
||||
> More information: <https://plantuml.com/en/command-line>.
|
||||
|
||||
- Render diagrams to default format (PNG):
|
||||
|
||||
`plantuml {{diagram1.puml}} {{diagram2.puml}}`
|
||||
|
||||
- Render a diagram in given format (e.g. `png`, `pdf`, `svg`, `txt`):
|
||||
|
||||
`plantuml -t{{format}} {{diagram.puml}}`
|
||||
|
||||
- Render all diagrams of a directory:
|
||||
|
||||
`plantuml {{path/to/diagrams}}`
|
||||
|
||||
- Render a diagram to the output directory:
|
||||
|
||||
`plantuml -o {{path/to/output}} {{diagram.puml}}`
|
||||
|
||||
- Render a diagram with the configuration file:
|
||||
|
||||
`plantuml -config {{config.cfg}} {{diagram.puml}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`plantuml -help`
|
Loading…
Add table
Reference in a new issue