{
  "id": "axel",
  "name": "Axel",
  "homepage": "https://github.com/axel-download-accelerator/axel",
  "description": "Lightweight CLI download accelerator",
  "executables": [
    "axel"
  ],
  "dotfiles": {
    "paths": [
      "~/.axelrc"
    ],
    "secret": [],
    "secret_paths": [
      {
        "file": "~/.axelrc",
        "match": {
          "prefix": [
            "proxy="
          ]
        }
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "Download file",
    "description": "Download one file over several connections, optionally from mirror URLs. Mirror search, proxy and IP-version options are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "man",
        "kind": "manual",
        "url": "https://manpages.debian.org/bookworm/axel/axel.1.en.html",
        "revision": "bookworm",
        "evidence": "axel [OPTIONS] url1 [url2] [url...]\n--max-speed=x, -s x\n--num-connections=x, -n x\n--output=x, -o x\n--insecure, -k\n--no-clobber, -c\n--verbose, -v\n--quiet, -q\n--alternate, -a\n--header=x, -H x\n--user-agent=x, -U x\n--timeout=x, -T x\n"
      }
    ],
    "field": [
      {
        "id": "urls",
        "label": "URL(s)",
        "description": "One URL, or several mirrors of an identical file.",
        "type": "url",
        "position": 0,
        "multiple": true,
        "sources": [
          "man"
        ]
      },
      {
        "id": "output",
        "label": "Output file or directory",
        "type": "path",
        "option": [
          "--output",
          "-o"
        ],
        "path": {
          "kind": "any",
          "role": "output"
        },
        "effect": "overwrite",
        "sources": [
          "man"
        ]
      },
      {
        "id": "connections",
        "label": "Connections",
        "type": "integer",
        "option": [
          "--num-connections",
          "-n"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "max_speed",
        "label": "Max speed (bytes/s)",
        "type": "integer",
        "option": [
          "--max-speed",
          "-s"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "header",
        "label": "HTTP header",
        "description": "Form: Header: Value.",
        "type": "string",
        "option": [
          "--header",
          "-H"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "user_agent",
        "label": "User agent",
        "type": "string",
        "option": [
          "--user-agent",
          "-U"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "timeout",
        "label": "Timeout",
        "type": "integer",
        "option": [
          "--timeout",
          "-T"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "no_clobber",
        "label": "Skip if file exists",
        "type": "boolean",
        "option": [
          "--no-clobber",
          "-c"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "alternate",
        "label": "Alternate progress bar",
        "type": "boolean",
        "option": [
          "--alternate",
          "-a"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "quiet",
        "label": "Quiet",
        "type": "boolean",
        "option": [
          "--quiet",
          "-q"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "insecure",
        "label": "Do not verify SSL certificate",
        "type": "boolean",
        "option": [
          "--insecure",
          "-k"
        ],
        "sources": [
          "man"
        ]
      }
    ],
    "task": [
      {
        "id": "download",
        "label": "Download",
        "fields": [
          "urls",
          "output",
          "connections"
        ],
        "required": [
          "urls"
        ]
      },
      {
        "id": "limited",
        "label": "Download with speed limit",
        "fields": [
          "urls",
          "output",
          "connections",
          "max_speed"
        ],
        "required": [
          "urls",
          "max_speed"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "urls",
          "output",
          "connections",
          "max_speed",
          "no_clobber"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "header",
          "user_agent",
          "timeout",
          "alternate",
          "quiet",
          "insecure"
        ]
      }
    ]
  }
}
