madonctl toot

Post a message (toot)

Synopsis

Post a message (toot)

madonctl toot [flags]

Examples

  madonctl toot message
  madonctl toot --spoiler Warning "Hello, World"
  madonctl status post --media-ids ID1,ID2 "Here are the photos"
  madonctl post --sensitive --file image.jpg Image
  madonctl toot --text-file message.txt
  madonctl toot --in-reply-to STATUSID "@user response"
  madonctl toot --in-reply-to STATUSID --add-mentions "response"
  echo "Hello from #madonctl" | madonctl toot --visibility unlisted --stdin

The default visibility can be set in the configuration file with the option
'default_visibility' (or with an environmnent variable).

Options

      --add-mentions        Add mentions when replying
  -f, --file string         Media attachment file name
  -h, --help                help for toot
  -r, --in-reply-to int     Status ID to reply to
      --media-ids string    Comma-separated list of media IDs
      --same-visibility     Use same visibility as original message (for replies)
      --sensitive           Mark post as sensitive (NSFW)
      --spoiler string      Spoiler warning (CW)
      --stdin               Read message content from standard input
      --text-file string    Text file name (message content)
      --visibility string   Visibility (direct|private|unlisted|public)

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-Mar-2018