{
  "description": "Post a status or read a timeline with toot. Login, account switching, polls, scheduling, thumbnails and the TUI are left to the command line.",
  "name": "toot",
  "subcommands": [
    {
      "name": "post",
      "description": "Post text, optionally with media. Leave the text empty to compose interactively or with an editor.",
      "options": [
        {
          "names": [
            "--visibility",
            "-v"
          ],
          "description": "Visibility",
          "args": {
            "name": "visibility",
            "isOptional": false,
            "suggestions": [
              {
                "name": "public",
                "description": "Public"
              },
              {
                "name": "unlisted",
                "description": "Unlisted"
              },
              {
                "name": "private",
                "description": "Followers only"
              },
              {
                "name": "direct",
                "description": "Direct"
              }
            ]
          }
        },
        {
          "names": [
            "--media",
            "-m"
          ],
          "description": "Up to 4 attachments; give one description per file.",
          "args": {
            "name": "media",
            "description": "Up to 4 attachments; give one description per file.",
            "isOptional": false,
            "isVariadic": true,
            "template": "filepaths"
          },
          "isRepeatable": true
        },
        {
          "names": [
            "--description",
            "-d"
          ],
          "description": "Accessibility description, one per attached media.",
          "args": {
            "name": "description",
            "description": "Accessibility description, one per attached media.",
            "isOptional": false,
            "isVariadic": true
          },
          "isRepeatable": true
        },
        {
          "names": [
            "--sensitive",
            "-s"
          ],
          "description": "Mark sensitive"
        },
        {
          "names": [
            "--spoiler-text",
            "-p"
          ],
          "description": "Content warning",
          "args": {
            "name": "spoiler_text",
            "isOptional": false
          }
        },
        {
          "names": [
            "--reply-to",
            "-r"
          ],
          "description": "Reply to status ID",
          "args": {
            "name": "reply_to",
            "isOptional": false
          }
        },
        {
          "names": [
            "--language",
            "-l"
          ],
          "description": "ISO 639-1 code, to skip automatic detection.",
          "args": {
            "name": "language",
            "description": "ISO 639-1 code, to skip automatic detection.",
            "isOptional": false
          }
        },
        {
          "names": [
            "--editor",
            "-e"
          ],
          "description": "Editor command; leave empty to use the EDITOR variable.",
          "args": {
            "name": "editor",
            "description": "Editor command; leave empty to use the EDITOR variable.",
            "isOptional": false
          }
        }
      ],
      "args": [
        {
          "name": "text",
          "description": "The status text. Leave empty to compose interactively.",
          "isOptional": true
        }
      ]
    },
    {
      "name": "timeline",
      "description": "Show the home, public, hashtag, account or list timeline.",
      "options": [
        {
          "names": [
            "--public",
            "-p"
          ],
          "description": "Public timeline"
        },
        {
          "names": [
            "--local",
            "-l"
          ],
          "description": "Only valid with the public timeline or a tag."
        },
        {
          "names": [
            "--tag",
            "-t"
          ],
          "description": "Hashtag",
          "args": {
            "name": "tag",
            "isOptional": false
          }
        },
        {
          "names": [
            "--account",
            "-a"
          ],
          "description": "Account",
          "args": {
            "name": "account",
            "isOptional": false
          }
        },
        {
          "names": [
            "--list"
          ],
          "description": "List",
          "args": {
            "name": "list",
            "isOptional": false
          }
        },
        {
          "names": [
            "--count",
            "-c"
          ],
          "description": "Maximum 20.",
          "args": {
            "name": "count",
            "description": "Maximum 20.",
            "isOptional": false
          }
        },
        {
          "names": [
            "--reverse",
            "-r"
          ],
          "description": "Newest at bottom"
        },
        {
          "names": [
            "--once"
          ],
          "description": "Do not prompt for more"
        }
      ]
    }
  ]
}
