export ID for stream. add -i to reply

This commit is contained in:
Yasuhiro Matsumoto 2017-04-19 15:17:26 +09:00
parent 998ab3d74a
commit e47dd5a618
3 changed files with 9 additions and 1 deletions

View file

@ -26,7 +26,8 @@ func cmdToot(c *cli.Context) error {
}
client := c.App.Metadata["client"].(*mastodon.Client)
_, err := client.PostStatus(context.Background(), &mastodon.Toot{
Status: toot,
Status: toot,
InReplyToID: c.Int64("i"),
})
return err
}