madonctl stream

Listen to an event stream

Synopsis

The stream command stays connected to the server and listen to a stream of events (user, local or federated). It can also get a hashtag-based stream if the keyword or prefixed with ':' or '#'.

madonctl stream [user|local|public|:HASHTAG] [flags]

Examples

  madonctl stream           # User timeline stream
  madonctl stream local     # Local timeline stream
  madonctl stream public    # Public timeline stream
  madonctl stream :mastodon # Hashtag
  madonctl stream #madonctl
  madonctl stream --notifications-only
  madonctl stream --notifications-only --notification-types mentions,follows

Several (up to 4) hashtags can be given.
Note: madonctl will use 1 websocket per hashtag stream.
  madonctl stream #madonctl,#mastodon,#golang
  madonctl stream :madonctl,mastodon,api

Options

      --command string              Execute external command
  -h, --help                        help for stream
      --notification-types string   Filter notifications (mentions, favourites, reblogs, follows)
      --notifications-only          Display only notifications (user stream)

Options inherited from parent commands

      --color string           Color mode (auto|on|off; for output=template)
      --config string          config file (default is $HOME/.config/madonctl/madonctl.yaml)
  -i, --instance string        Mastodon instance
  -L, --login string           Instance user login
  -o, --output string          Output format (plain|json|yaml|template|theme)
  -P, --password string        Instance user password
      --template string        Go template (for output=template)
      --template-file string   Go template file (for output=template)
      --theme string           Theme name (for output=theme)
  -t, --token string           User token
  -v, --verbose                Verbose mode

SEE ALSO

Auto generated by spf13/cobra on 21-Oct-2017