{
  "id": "animdl",
  "name": "animdl",
  "homepage": "https://github.com/justfoolingaround/animdl",
  "description": "Anime downloader and streamer for the terminal.",
  "executables": [
    "animdl"
  ],
  "dotfiles": {
    "paths": [
      "[configHome]/animdl/config.yml"
    ],
    "exclude": [],
    "secret": [],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "Download anime",
    "description": "Download episodes of an anime found by query. Logging options and Internet Download Manager are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "subcommand": [
      {
        "path": [
          "download"
        ],
        "label": "Download episodes",
        "source": [
          {
            "id": "source",
            "kind": "help",
            "url": "https://github.com/justfoolingaround/animdl/blob/master/animdl/core/cli/helpers/decorators.py",
            "revision": "2026-10-27",
            "evidence": "@click.command(name=\"download\", help=\"Download your favorite anime by query.\")\nrange_args=(\"-r\", \"--range\"),\nquality_args=(\"-q\", \"--quality\"),\nspecial_args=(\"-s\", \"--special\"),\nhelp=\"Select ranges of anime.\",\nhelp=\"Special range selection.\",\nhelp=\"Use quality strings.\",\nindex_args=(\"--index\",),\nhelp=\"Index for the auto flag.\",\ndownload_dir_args=(\"-d\", \"--download-dir\"),\nhelp=\"Download directory for downloads.\",\n"
          }
        ],
        "field": [
          {
            "id": "query",
            "label": "Anime name",
            "type": "string",
            "position": 0,
            "min": 1,
            "sources": [
              "source"
            ]
          },
          {
            "id": "range",
            "label": "Episode range",
            "description": "Select ranges of anime, for example 1:5.",
            "type": "string",
            "option": [
              "--range",
              "-r"
            ],
            "sources": [
              "source"
            ]
          },
          {
            "id": "quality",
            "label": "Quality",
            "description": "Use quality strings.",
            "type": "string",
            "option": [
              "--quality",
              "-q"
            ],
            "sources": [
              "source"
            ]
          },
          {
            "id": "special",
            "label": "Special range",
            "description": "Special range selection.",
            "type": "string",
            "option": [
              "--special",
              "-s"
            ],
            "sources": [
              "source"
            ]
          },
          {
            "id": "index",
            "label": "Auto-pick result index",
            "description": "Index for the auto flag.",
            "type": "integer",
            "option": [
              "--index"
            ],
            "sources": [
              "source"
            ]
          },
          {
            "id": "download_dir",
            "label": "Download directory",
            "type": "path",
            "path": {
              "kind": "directory",
              "role": "output"
            },
            "option": [
              "--download-dir",
              "-d"
            ],
            "sources": [
              "source"
            ]
          }
        ],
        "task": [
          {
            "id": "download",
            "label": "Download an anime",
            "fields": [
              "query",
              "range",
              "quality",
              "download_dir"
            ],
            "required": [
              "query"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "query",
              "range",
              "quality",
              "download_dir"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "special",
              "index"
            ]
          }
        ]
      }
    ]
  }
}
