OSDN Git Service

[fix] : Fixed json link
[alterlinux/hayao.fascode.net.git] / blog / new-post.sh
1 #!/usr/bin/env bash
2
3 set -Eeu
4 title="$(zenity --forms --add-entry="Title" --text="Set English short title for argument" | tr " " "-" | tr "[:upper:]" "[:lower:]")"
5 bash "$(cd "$(dirname "${0}")" && pwd)/new-post-cli.sh" "${title}"