Skip to content

Commit

Permalink
Simplify config-visualizer aliases
Browse files Browse the repository at this point in the history
co-authored-by: Frédéric Simonis <simonisfrederic@gmail.com>
  • Loading branch information
MakisH and fsimonis committed Apr 23, 2024
1 parent c08fdcc commit 235bd03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions provisioning/.alias
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# preCICE config visualizer
function preciceToPNG(){
precice-config-visualizer "${1:-precice-config.xml}" | dot -Tpng > precice-config.png
precice-config-visualizer -o precice-config.png "${1:-precice-config.xml}"
}

function preciceToPDF(){
precice-config-visualizer "${1:-precice-config.xml}" | dot -Tpdf > precice-config.pdf
precice-config-visualizer -o precice-config.pdf "${1:-precice-config.xml}"
}

function preciceToSVG(){
precice-config-visualizer "${1:-precice-config.xml}" | dot -Tsvg > precice-config.svg
precice-config-visualizer -o precice-config.svg "${1:-precice-config.xml}"
}

0 comments on commit 235bd03

Please sign in to comment.