{
  "id": "thefuck",
  "name": "The Fuck",
  "homepage": "https://github.com/nvbn/thefuck",
  "description": "A command-line tool that corrects errors in previous console commands.",
  "executables": [
    "thefuck",
    "fuck"
  ],
  "dotfiles": {
    "paths": [
      "[configHome]/thefuck/settings.py",
      "[configHome]/thefuck/rules/"
    ],
    "secret": [],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "Fix previous command",
    "description": "Run thefuck on a command line to correct it. Alias printing, shell logger and experimental instant mode are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": true
    },
    "source": [
      {
        "id": "help",
        "kind": "help",
        "revision": "thefuck --help (local)",
        "evidence": "  command               command that should be fixed\n  -y, --yes, --yeah, --hard\n                        execute fixed command without confirmation\n  -r, --repeat          repeat on failure\n  -d, --debug           enable debug output\n"
      }
    ],
    "field": [
      {
        "id": "yes",
        "label": "Run without confirmation",
        "type": "boolean",
        "option": [
          "--yes",
          "-y"
        ],
        "effect": "exec",
        "sources": [
          "help"
        ]
      },
      {
        "id": "repeat",
        "label": "Repeat on failure",
        "type": "boolean",
        "option": [
          "--repeat",
          "-r"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "debug",
        "label": "Debug output",
        "type": "boolean",
        "option": [
          "--debug",
          "-d"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "command",
        "label": "Command to fix",
        "description": "The command line that should be corrected.",
        "type": "string",
        "position": 0,
        "multiple": true,
        "sources": [
          "help"
        ]
      }
    ],
    "task": [
      {
        "id": "fix",
        "label": "Fix a command",
        "fields": [
          "command",
          "repeat",
          "debug"
        ],
        "required": [
          "command"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "command",
          "repeat",
          "yes",
          "debug"
        ]
      }
    ]
  }
}
