{
  "id": "turbo",
  "name": "Turborepo",
  "homepage": "https://turborepo.dev",
  "description": "Turborepo is the build system for coding agents.",
  "icon": "SimpleIcons:turborepo",
  "executables": [
    "turbo"
  ],
  "dotfiles": {
    "paths": [
      "[appData]/turborepo/config.json"
    ],
    "exclude": [],
    "secret": [
      "[appData]/turborepo/auth.json",
      "[appData]/com.vercel.cli/auth.json"
    ],
    "side_effect": false,
    "secret_paths": [
      {
        "file": "[appData]/turborepo/config.json",
        "match": {
          "key_path": [
            "token"
          ]
        }
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "Turborepo",
    "description": "Monorepo build system. Forms cover run and prune; remote cache login is left out.",
    "quality": "ai-draft",
    "base": "fig:turbo",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/turbo.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "run"
        ],
        "label": "Run tasks",
        "description": "Run tasks across the monorepo.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/turbo.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "tasks",
            "label": "Tasks",
            "description": "Task names from turbo.json.",
            "type": "string",
            "position": 0,
            "multiple": true,
            "min": 1,
            "suggestions": [
              {
                "value": "build",
                "label": "build"
              },
              {
                "value": "test",
                "label": "test"
              },
              {
                "value": "lint",
                "label": "lint"
              },
              {
                "value": "dev",
                "label": "dev"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "scope",
            "label": "Scope package",
            "type": "string",
            "option": [
              "--scope"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "since",
            "label": "Changed since",
            "type": "string",
            "option": [
              "--since"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "concurrency",
            "label": "Concurrency",
            "type": "string",
            "option": [
              "--concurrency"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "continue",
            "label": "Continue on error",
            "type": "boolean",
            "option": [
              "--continue"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "force",
            "label": "Ignore cache",
            "type": "boolean",
            "option": [
              "--force"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_cache",
            "label": "Do not write cache",
            "type": "boolean",
            "option": [
              "--no-cache"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "parallel",
            "label": "Parallel",
            "type": "boolean",
            "option": [
              "--parallel"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "graph",
            "label": "Dot graph",
            "type": "boolean",
            "option": [
              "--graph"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "output_logs",
            "label": "Output logs",
            "type": "enum",
            "option": [
              "--output-logs"
            ],
            "choices": [
              {
                "value": "new-only",
                "label": "new-only"
              },
              {
                "value": "hash-only",
                "label": "hash-only"
              },
              {
                "value": "full",
                "label": "full"
              },
              {
                "value": "none",
                "label": "none"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "cache_dir",
            "label": "Cache dir",
            "type": "path",
            "option": [
              "--cache-dir"
            ],
            "path": {
              "kind": "directory",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_deps",
            "label": "Exclude dependents",
            "type": "boolean",
            "option": [
              "--no-deps"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "include_deps",
            "label": "Include dependencies",
            "type": "boolean",
            "option": [
              "--include-dependencies"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "build",
            "label": "Build",
            "set": {
              "tasks": [
                "build"
              ]
            },
            "fields": [
              "tasks",
              "scope"
            ],
            "required": [
              "tasks"
            ]
          },
          {
            "id": "dev",
            "label": "Dev (parallel, no cache)",
            "set": {
              "tasks": [
                "dev"
              ],
              "parallel": [
                true
              ],
              "no_cache": [
                true
              ]
            },
            "fields": [
              "tasks",
              "scope",
              "parallel",
              "no_cache"
            ],
            "required": [
              "tasks"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "tasks",
              "scope",
              "continue",
              "force",
              "no_cache",
              "parallel"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "graph",
              "output_logs",
              "cache_dir",
              "no_deps",
              "include_deps",
              "since",
              "concurrency"
            ]
          }
        ]
      },
      {
        "path": [
          "prune"
        ],
        "label": "Prune monorepo",
        "description": "Create a subset of the monorepo for one package.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/turbo.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "scope",
            "label": "Package",
            "type": "string",
            "option": [
              "--scope"
            ],
            "min": 1,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "docker",
            "label": "Docker layout",
            "type": "boolean",
            "option": [
              "--docker"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "prune",
            "label": "Prune",
            "fields": [
              "scope",
              "docker"
            ],
            "required": [
              "scope"
            ]
          },
          {
            "id": "prune-docker",
            "label": "Prune for Docker",
            "set": {
              "docker": [
                true
              ]
            },
            "fields": [
              "scope",
              "docker"
            ],
            "required": [
              "scope"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "scope",
              "docker"
            ]
          }
        ]
      }
    ]
  }
}
