{
  "id": "t",
  "name": "t",
  "homepage": "https://github.com/sferik/x-cli",
  "description": "A command-line interface for the X API.",
  "icon": "https://raw.githubusercontent.com/sferik/x-cli/master/legacy/icon/t.png",
  "executables": [
    "t",
    "x"
  ],
  "dotfiles": {
    "paths": [],
    "exclude": [],
    "secret": [
      "~/.trc",
      "~/.xrc"
    ]
  },
  "commands": {
    "format": 1,
    "label": "X CLI",
    "description": "Show a user's recent posts. Source: the project's shell completion file (legacy t command names). Posting, searching, streaming and account commands are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "subcommand": [
      {
        "path": [
          "timeline"
        ],
        "label": "Show a timeline",
        "description": "Returns the 20 most recent posts by a user.",
        "source": [
          {
            "id": "comp",
            "kind": "completion",
            "url": "https://raw.githubusercontent.com/sferik/x-cli/HEAD/etc/t-completion.fish",
            "revision": "2026-10-27",
            "evidence": "complete -f -c t -n '__fish_t_needs_command' -a timeline -d \"Returns the 20 most recent Tweets posted by a user.\"\n-c, --csv  Output in CSV format.\n-i, --id  Specify user via ID instead of screen name.\n-l, --long  Output in long format.\n-n, --number  Limit the number of results.\n-r, --reverse  Reverse the order of the sort.\n"
          }
        ],
        "field": [
          {
            "id": "user",
            "label": "User",
            "description": "Screen name, or ID with the ID option. Leave empty for your own timeline.",
            "type": "string",
            "position": 0,
            "sources": [
              "comp"
            ]
          },
          {
            "id": "number",
            "label": "Number of results",
            "type": "integer",
            "option": [
              "--number",
              "-n"
            ],
            "sources": [
              "comp"
            ]
          },
          {
            "id": "long",
            "label": "Long format",
            "type": "boolean",
            "option": [
              "--long",
              "-l"
            ],
            "sources": [
              "comp"
            ]
          },
          {
            "id": "csv",
            "label": "CSV output",
            "type": "boolean",
            "option": [
              "--csv",
              "-c"
            ],
            "sources": [
              "comp"
            ]
          },
          {
            "id": "id",
            "label": "User is an ID",
            "type": "boolean",
            "option": [
              "--id",
              "-i"
            ],
            "sources": [
              "comp"
            ]
          },
          {
            "id": "reverse",
            "label": "Reverse order",
            "type": "boolean",
            "option": [
              "--reverse",
              "-r"
            ],
            "sources": [
              "comp"
            ]
          }
        ],
        "task": [
          {
            "id": "recent",
            "label": "Recent posts",
            "fields": [
              "user",
              "number",
              "long"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "user",
              "number",
              "long"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "csv",
              "id",
              "reverse"
            ]
          }
        ]
      }
    ]
  }
}
