# HG changeset patch # User Mikael Berthe # Date 1492813083 -7200 # Node ID d70f8e8f3d2e51e67b68f6d42d429f0b519e7a07 # Parent a3b95e2f0b0b359d47c919df5116fad24415133f Add examples with accounts and timelines diff -r a3b95e2f0b0b -r d70f8e8f3d2e README.md --- a/README.md Fri Apr 21 23:43:48 2017 +0200 +++ b/README.md Sat Apr 22 00:18:03 2017 +0200 @@ -75,11 +75,28 @@ % madonctl status --status-id 416671 boost # Boost a status ``` +Search for an account (only accounts known to your instance): +``` sh +% madonctl accounts search gargron +``` + +Follow an account with known ID: +``` sh +% madonctl accounts follow --account-id 1234 +``` + Follow a remote account: ``` sh % madonctl accounts follow --remote Gargron@mastodon.social ``` +Read timelines: +``` sh +% madonctl timeline # Display home timeline +% madonctl timeline public # Display federated timeline +% madonctl timeline public --local # Display public local timeline +``` + Use the streaming API and fetch timelines and notifications: ``` sh % madonctl stream # Stream home timeline and notifications