Skip to content

Instantly share code, notes, and snippets.

@KwangYeol
KwangYeol / websequencediagram.sh
Created June 5, 2017 06:53 — forked from mathbruyen/websequencediagram.sh
Script for fetching sequence diagrams from www.websequencediagrams.com using cURL
#!/bin/sh
# Script for fetching sequence diagrams from www.websequencediagrams.com
# Arguments:
# - 1 (mandatory): text file to be used as input
# - 2 (optional): output file, defaults to input file + format
# Common
format=png
style=napkin
apiVersion=1