906 B
906 B
+++ date = "2019-12-01" title = "mstdn.zsh" description = "| zshで書かれたmastodon client" +++
mstdn.zsh
は、zshで書かれたコマンドツールです。mastodon apiをサポートします。
使い方は、json/user.json
にアプリ認証情報を置いて、$ mstdn.zsh a
コマンドを実行します。
$ git clone https://github.com/syui/mstdn.zsh
$ cd mstdn.zsh
$ chmod +x mstdn.zsh
$ ./mstdn.zsh a
{
"host" : "xxxx",
"app" : "xxxx",
"select_command" : "fzf"
}
# 投稿
$ mstdn.zsh p -f "test."
# タイムライン
$ mstdn.zsh t
# ユーザー情報
$ mstdn.zsh s