1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 09:50:04 +08:00
SpaceVim/bundle/plantuml-previewer.vim/script/save-as.sh

13 lines
266 B
Bash

#!/usr/bin/env bash
java_path=$1
jar_path=$2
puml_src_path=$3
output_dir_path=$4
output_path=$5
save_path=$6
image_type=$7
"$java_path" -Dapple.awt.UIElement=true -jar "$jar_path" "$puml_src_path" -t$image_type -o "$output_dir_path"
cp "$output_path" "$save_path"