{
  "id": "nx",
  "name": "Nx",
  "description": "Smart build system and monorepo tooling.",
  "homepage": "https://nx.dev",
  "executables": [
    "nx"
  ],
  "commands": {
    "format": 1,
    "label": "Nx commands",
    "description": "Run targets across projects or only affected projects.",
    "quality": "ai-draft",
    "base": "fig:nx",
    "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/nx.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "run-many"
        ],
        "label": "Run target for many projects",
        "description": "Run targets for listed projects or all of them.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/nx.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "targets",
            "label": "Targets",
            "type": "string",
            "option": [
              "--targets"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "projects",
            "label": "Projects",
            "type": "string",
            "option": [
              "--projects"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "all",
            "label": "All projects",
            "type": "boolean",
            "option": [
              "--all"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "configuration",
            "label": "Configuration",
            "type": "string",
            "option": [
              "--configuration",
              "-c"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "exclude",
            "label": "Exclude projects",
            "type": "string",
            "option": [
              "--exclude"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "parallel",
            "label": "Max parallel processes",
            "type": "integer",
            "option": [
              "--parallel"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "skip_cache",
            "label": "Skip Nx cache",
            "type": "boolean",
            "option": [
              "--skip-nx-cache"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "bail",
            "label": "Stop after first failure",
            "type": "boolean",
            "option": [
              "--nx-bail"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "graph",
            "label": "Show task graph",
            "type": "boolean",
            "option": [
              "--graph"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "verbose",
            "label": "Verbose",
            "type": "boolean",
            "option": [
              "--verbose"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "all",
            "label": "Run targets on all projects",
            "set": {
              "all": [
                true
              ]
            },
            "fields": [
              "targets",
              "all",
              "exclude",
              "parallel",
              "skip_cache"
            ],
            "required": [
              "targets"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "targets",
              "projects",
              "all",
              "exclude",
              "parallel"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "configuration",
              "skip_cache",
              "bail",
              "graph",
              "verbose"
            ]
          }
        ]
      },
      {
        "path": [
          "affected"
        ],
        "label": "Run target for affected projects",
        "description": "Run targets for projects affected by changes.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/nx.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "targets",
            "label": "Targets",
            "type": "string",
            "option": [
              "--targets"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "base",
            "label": "Base commit",
            "type": "string",
            "option": [
              "--base"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "head",
            "label": "Head commit",
            "type": "string",
            "option": [
              "--head"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "uncommitted",
            "label": "Uncommitted changes",
            "type": "boolean",
            "option": [
              "--uncommitted"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "untracked",
            "label": "Untracked changes",
            "type": "boolean",
            "option": [
              "--untracked"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "configuration",
            "label": "Configuration",
            "type": "string",
            "option": [
              "--configuration",
              "-c"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "exclude",
            "label": "Exclude projects",
            "type": "string",
            "option": [
              "--exclude"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "parallel",
            "label": "Max parallel processes",
            "type": "integer",
            "option": [
              "--parallel"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "skip_cache",
            "label": "Skip Nx cache",
            "type": "boolean",
            "option": [
              "--skip-nx-cache"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "bail",
            "label": "Stop after first failure",
            "type": "boolean",
            "option": [
              "--nx-bail"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "graph",
            "label": "Show task graph",
            "type": "boolean",
            "option": [
              "--graph"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "verbose",
            "label": "Verbose",
            "type": "boolean",
            "option": [
              "--verbose"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "vs-main",
            "label": "Affected since main",
            "set": {
              "base": [
                "main"
              ]
            },
            "fields": [
              "targets",
              "base",
              "head",
              "parallel"
            ],
            "required": [
              "targets"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "targets",
              "base",
              "head",
              "uncommitted",
              "untracked"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "configuration",
              "exclude",
              "parallel",
              "skip_cache",
              "bail",
              "graph",
              "verbose"
            ]
          }
        ]
      }
    ]
  }
}
