{
  "id": "tinyfugue",
  "name": "TinyFugue",
  "homepage": "https://github.com/ingwarsw/tinyfugue",
  "description": "A rebirth of the TinyFugue MUD client: a programmable, screen-oriented client for text-based multi-user games.",
  "executables": [
    "tf"
  ],
  "platforms": [
    "macos",
    "linux"
  ],
  "dotfiles": {
    "paths": [
      "~/.tfrc",
      "~/tfrc"
    ],
    "exclude": [],
    "secret": [],
    "side_effect": false,
    "secret_paths": [
      {
        "file": [
          "~/.tfrc",
          "~/tfrc"
        ],
        "match": {
          "prefix": [
            "/test addworld("
          ]
        }
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "Connect to a MUD",
    "description": "Start TinyFugue and connect to a world or host. Library directory and startup command are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": false,
      "short_attached": true,
      "short_bundles": true
    },
    "source": [
      {
        "id": "usage",
        "kind": "help",
        "url": "https://github.com/ingwarsw/tinyfugue/blob/HEAD/src/main.c",
        "revision": "2026-10-27",
        "evidence": "Usage: tf [-L<dir>] [-f[<file>]] [-c<cmd>] [-vnlq] [<world>]\n       tf [-L<dir>] [-f[<file>]] [-c<cmd>] [-vlq] <host> <port>\n  -f        don't load personal config file (.tfrc)\n  -f<file>  load <file> instead of config file\n  -n        no automatic first connection\n  -l        no automatic login/password\n  -q        quiet login\n  -v        no automatic visual mode\n  <host>    hostname or IP address\n  <port>    port number or name\n  <world>   connect to <world> defined by addworld()\n"
      }
    ],
    "field": [
      {
        "id": "world",
        "label": "World or host",
        "description": "A world defined by addworld(), or a hostname/IP when a port follows.",
        "type": "string",
        "position": 0,
        "sources": [
          "usage"
        ]
      },
      {
        "id": "port",
        "label": "Port",
        "description": "Only with a hostname instead of a world.",
        "type": "string",
        "position": 1,
        "sources": [
          "usage"
        ]
      },
      {
        "id": "config_file",
        "label": "Config file",
        "description": "Load this file instead of ~/.tfrc.",
        "type": "path",
        "option": [
          "-f"
        ],
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "usage"
        ]
      },
      {
        "id": "no_connect",
        "label": "No automatic first connection",
        "type": "boolean",
        "option": [
          "-n"
        ],
        "sources": [
          "usage"
        ]
      },
      {
        "id": "no_login",
        "label": "No automatic login",
        "type": "boolean",
        "option": [
          "-l"
        ],
        "sources": [
          "usage"
        ]
      },
      {
        "id": "quiet",
        "label": "Quiet login",
        "type": "boolean",
        "option": [
          "-q"
        ],
        "sources": [
          "usage"
        ]
      },
      {
        "id": "no_visual",
        "label": "No automatic visual mode",
        "type": "boolean",
        "option": [
          "-v"
        ],
        "sources": [
          "usage"
        ]
      }
    ],
    "task": [
      {
        "id": "connect_world",
        "label": "Connect to a world",
        "fields": [
          "world"
        ],
        "required": [
          "world"
        ]
      },
      {
        "id": "connect_host",
        "label": "Connect to host and port",
        "fields": [
          "world",
          "port"
        ],
        "required": [
          "world",
          "port"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "world",
          "port",
          "config_file"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "no_connect",
          "no_login",
          "quiet",
          "no_visual"
        ]
      }
    ]
  }
}
