Skip to content

Instantly share code, notes, and snippets.

Avatar
👋
Hello!

Keitaroh Kobayashi keichan34

👋
Hello!
View GitHub Profile
@keichan34
keichan34 / blurb.fish
Last active Mar 12, 2017 — forked from jeremy-w/blurb.fish
Fish function to create or reply to a social post on 10 Centuries. MPLv2
View blurb.fish
function blurb --description Post\ to\ 10C.\\nblurb\ post\ MESSAGE\\nblurb\ POST_ID\ REPLY --argument reply_id message
set -l token $TEN_CENTURIES_API_TOKEN
set -l endpoint https://api.10centuries.org/content/write
set -l usage 'blurb: post or reply to a message on 10C
Usage:
blurb post MESSAGE
Post a new blurb