{
  "id": "ant",
  "name": "Apache Ant",
  "homepage": "https://ant.apache.org",
  "description": "Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files.",
  "icon": "SimpleIcons:apacheant",
  "executables": [
    "ant"
  ],
  "dotfiles": {
    "paths": [
      "~/.antrc",
      "~/.ant/ant.conf"
    ],
    "exclude": [
      "~/.ant/lib/"
    ],
    "secret": [],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "Run Ant build",
    "description": "Run one or more targets of an Ant build file. Listener, logger, input-handler and classpath options are left out.",
    "quality": "ai-draft",
    "base": "fig:ant",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": false,
      "short_attached": false,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/ant.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "buildfile",
        "label": "Build file",
        "description": "Defaults to build.xml in the current directory.",
        "type": "path",
        "option": [
          "-buildfile",
          "-file",
          "-f"
        ],
        "path": {
          "kind": "file",
          "role": "input",
          "must_exist": true
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "logfile",
        "label": "Log file",
        "type": "path",
        "option": [
          "-logfile",
          "-l"
        ],
        "path": {
          "kind": "file",
          "role": "output",
          "must_exist": false
        },
        "effect": "overwrite",
        "sources": [
          "fig"
        ]
      },
      {
        "id": "propertyfile",
        "label": "Property file",
        "type": "path",
        "option": [
          "-propertyfile"
        ],
        "path": {
          "kind": "file",
          "role": "input",
          "must_exist": true
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "keep_going",
        "label": "Keep going after failures",
        "type": "boolean",
        "option": [
          "-keep-going",
          "-k"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "projecthelp",
        "label": "Print project help (targets)",
        "type": "boolean",
        "option": [
          "-projecthelp",
          "-p"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "verbose",
        "label": "Verbose",
        "type": "boolean",
        "option": [
          "-verbose",
          "-v"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "quiet",
        "label": "Quiet",
        "type": "boolean",
        "option": [
          "-quiet",
          "-q"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "debug",
        "label": "Debug output",
        "type": "boolean",
        "option": [
          "-debug",
          "-d"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "noinput",
        "label": "No interactive input",
        "type": "boolean",
        "option": [
          "-noinput"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "targets",
        "label": "Targets",
        "description": "Targets to run in order. Defaults to the build file's default target.",
        "type": "string",
        "position": 0,
        "multiple": true,
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "build",
        "label": "Run targets",
        "fields": [
          "targets",
          "buildfile",
          "propertyfile",
          "keep_going",
          "verbose"
        ],
        "required": []
      },
      {
        "id": "list-targets",
        "label": "List targets",
        "set": {
          "projecthelp": [
            true
          ]
        },
        "lock": [
          "projecthelp"
        ],
        "fields": [
          "projecthelp",
          "buildfile"
        ],
        "required": []
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "targets",
          "buildfile",
          "propertyfile",
          "keep_going",
          "projecthelp"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "logfile",
          "verbose",
          "quiet",
          "debug",
          "noinput"
        ]
      }
    ]
  }
}
