I've written 'toot', a very simple command-line utility to allow Mastodon posts to be sent from the command-line: https://www.npmjs.com/package/toot
@glynn_bird thank you, that's cool!