madonctl instance

Display current instance information


Display instance information

This command display the instance information returned by the server.

With '--stats', the API is queried and instance statistics will be returned (the instance server can be specified). To get a range of statistics, both '--start' and '--end' should be provided with UNIX timestamps (e.g. "date +%s").

madonctl instance [flags]


  madonctl instance
  madonctl instance -i
  madonctl instance --stats
  madonctl instance --stats --start 1493565000 --end 1493566000
  madonctl instance --stats --server --template '{{.Users}}'


      --end int         End timestamp (for --stats)
  -h, --help            help for instance
      --server string   Display statistics for a specific server (for --stats)
      --start int       Start timestamp (for --stats)
      --stats           Display server statistics (from

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


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