{
  "id": "invoke",
  "name": "Invoke",
  "homepage": "https://docs.pyinvoke.org/",
  "description": "Invoke is a Python task execution tool and library.",
  "executables": [
    "invoke",
    "inv"
  ],
  "dotfiles": {
    "paths": [
      "~/.invoke.yaml",
      "~/.invoke.yml",
      "~/.invoke.json",
      "~/.invoke.py"
    ],
    "exclude": [],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "Run tasks",
    "description": "Run one or more tasks from tasks.py with Invoke's core options. Per-task options are written after each task name and are not part of this form; --list and --help are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "posix",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "docs",
        "kind": "manual",
        "url": "https://docs.pyinvoke.org/en/stable/invoke.html",
        "revision": "2026-10-27",
        "evidence": "$ inv[oke] [--core-opts] task1 [--task1-opts] ... taskN [--taskN-opts] [-- remainder-opts-or-values]\n-c STRING , --collection =STRING  Specify collection name to load.\n-d , --debug  Enable debug output.\n--dry  Echo commands instead of actually running them\n-e , --echo  Echo executed commands before running.\n-f , --config  Specify a runtime configuration file to load.\n-p , --pty  Use a pty when executing shell commands.\n-r STRING , --search-root =STRING  Change root directory used for finding task modules.\n-T INT , --command-timeout =INT  Set a default command execution timeout of INT seconds.\n-w , --warn-only  Warn, instead of failing, when shell commands fail.\n"
      }
    ],
    "field": [
      {
        "id": "tasks",
        "label": "Tasks",
        "description": "One or more task names, in order.",
        "type": "string",
        "position": 0,
        "multiple": true,
        "sources": [
          "docs"
        ]
      },
      {
        "id": "echo",
        "label": "Echo commands",
        "type": "boolean",
        "option": [
          "--echo",
          "-e"
        ],
        "sources": [
          "docs"
        ]
      },
      {
        "id": "dry",
        "label": "Dry run",
        "description": "Print commands instead of running them.",
        "type": "boolean",
        "option": [
          "--dry"
        ],
        "sources": [
          "docs"
        ]
      },
      {
        "id": "pty",
        "label": "Use a pty",
        "type": "boolean",
        "option": [
          "--pty",
          "-p"
        ],
        "sources": [
          "docs"
        ]
      },
      {
        "id": "warn_only",
        "label": "Warn only on failure",
        "type": "boolean",
        "option": [
          "--warn-only",
          "-w"
        ],
        "sources": [
          "docs"
        ]
      },
      {
        "id": "debug",
        "label": "Debug output",
        "type": "boolean",
        "option": [
          "--debug",
          "-d"
        ],
        "sources": [
          "docs"
        ]
      },
      {
        "id": "collection",
        "label": "Collection name",
        "type": "string",
        "option": [
          "--collection",
          "-c"
        ],
        "sources": [
          "docs"
        ]
      },
      {
        "id": "search_root",
        "label": "Search root",
        "type": "path",
        "path": {
          "kind": "directory",
          "role": "input"
        },
        "option": [
          "--search-root",
          "-r"
        ],
        "sources": [
          "docs"
        ]
      },
      {
        "id": "config",
        "label": "Runtime config file",
        "type": "path",
        "path": {
          "kind": "file",
          "role": "input"
        },
        "option": [
          "--config",
          "-f"
        ],
        "sources": [
          "docs"
        ]
      },
      {
        "id": "command_timeout",
        "label": "Command timeout (seconds)",
        "type": "integer",
        "option": [
          "--command-timeout",
          "-T"
        ],
        "sources": [
          "docs"
        ]
      }
    ],
    "task": [
      {
        "id": "run",
        "label": "Run tasks",
        "fields": [
          "tasks",
          "echo"
        ],
        "required": [
          "tasks"
        ]
      },
      {
        "id": "dry_run",
        "label": "Dry run tasks",
        "fields": [
          "tasks",
          "dry",
          "echo"
        ],
        "required": [
          "tasks"
        ],
        "set": {
          "dry": [
            true
          ],
          "echo": [
            true
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "tasks",
          "echo",
          "dry",
          "pty",
          "warn_only"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "debug",
          "collection",
          "search_root",
          "config",
          "command_timeout"
        ]
      }
    ]
  }
}
