madonctl account update

Update connected user account

Synopsis

Update connected user account

All flags are optional (set to an empty string if you want to delete a field). The flags --avatar and --header can be paths to image files or base64-encoded images (see Mastodon API specifications for the details).

Please note the avatar and header images cannot be removed, they can only be replaced.

madonctl account update [flags]

Examples

  madonctl account update --display-name "Mr President"
  madonctl account update --note "I like madonctl"
  madonctl account update --avatar happyface.png

Options

      --avatar string         User avatar image
      --display-name string   User display name
      --header string         User header image
  -h, --help                  help for update
      --locked                Following account requires approval
      --note string           User note (a.k.a. bio)

Options inherited from parent commands

  -a, --account-id int         Account ID number
      --all                    Fetch all results
      --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
  -k, --keep uint              Limit number of results
  -l, --limit uint             Limit number of API results
  -L, --login string           Instance user login
      --max-id int             Request IDs less (or equal) than a value
  -o, --output string          Output format (plain|json|yaml|template|theme)
  -P, --password string        Instance user password
      --since-id int           Request IDs greater than a value
      --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
  -u, --user-id string         Account user ID
  -v, --verbose                Verbose mode

SEE ALSO

Auto generated by spf13/cobra on 21-Mar-2018