2017-04-12 14:42:04 +00:00
|
|
|
====
|
|
|
|
Toot
|
|
|
|
====
|
|
|
|
|
|
|
|
Post to Mastodon social networks from the command line.
|
|
|
|
|
|
|
|
|
|
|
|
Installation
|
|
|
|
------------
|
|
|
|
|
|
|
|
Install using pip:
|
|
|
|
|
|
|
|
.. code-block::
|
|
|
|
|
|
|
|
pip install toot
|
|
|
|
|
|
|
|
|
|
|
|
Usage
|
|
|
|
-----
|
|
|
|
|
|
|
|
Currently implements only posting a new status:
|
|
|
|
|
|
|
|
|
|
|
|
.. code-block::
|
|
|
|
|
|
|
|
toot post "Hello world!"
|
|
|
|
|
2017-04-12 15:18:56 +00:00
|
|
|
On first use, you will be asked to choose a Mastodon instance and log in.
|
|
|
|
|
|
|
|
The app and user tokens are saved in two files in your home directory:
|
|
|
|
|
|
|
|
* ``~/.config/toot/app.cfg``
|
|
|
|
* ``~/.config/toot/user.cfg``
|
|
|
|
|
|
|
|
To logout, delete these files.
|