OSDN Git Service
(root)
/
alterlinux
/
hayao.fascode.net.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[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}"