{
  "id": "lerna",
  "name": "Lerna",
  "description": "Tool for managing JavaScript monorepos with multiple packages.",
  "homepage": "https://lerna.js.org",
  "executables": [
    "lerna"
  ],
  "commands": {
    "format": 1,
    "label": "Lerna",
    "description": "Run scripts and list packages. Publishing and versioning are left out.",
    "quality": "ai-draft",
    "base": "fig:lerna",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "subcommand": [
      {
        "path": [
          "run"
        ],
        "label": "Run script",
        "description": "Run an npm script in each package that contains it.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/lerna.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "script",
            "label": "Script",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "scope",
            "label": "Scope glob",
            "type": "string",
            "option": [
              "--scope"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "ignore",
            "label": "Ignore glob",
            "type": "string",
            "option": [
              "--ignore"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "concurrency",
            "label": "Concurrency",
            "type": "integer",
            "option": [
              "--concurrency"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "stream",
            "label": "Stream output",
            "type": "boolean",
            "option": [
              "--stream"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "parallel",
            "label": "Run in parallel",
            "type": "boolean",
            "option": [
              "--parallel"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_bail",
            "label": "Keep going on failure",
            "type": "boolean",
            "option": [
              "--no-bail"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "run",
            "label": "Run script",
            "fields": [
              "script",
              "scope",
              "stream"
            ],
            "required": [
              "script"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "script",
              "scope",
              "stream"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "ignore",
              "concurrency",
              "parallel",
              "no_bail"
            ]
          }
        ]
      },
      {
        "path": [
          "ls"
        ],
        "label": "List packages",
        "description": "List local packages.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/lerna.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "json",
            "label": "JSON",
            "type": "boolean",
            "option": [
              "--json"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "long",
            "label": "Long",
            "type": "boolean",
            "option": [
              "--long",
              "-l"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "parseable",
            "label": "Parseable",
            "type": "boolean",
            "option": [
              "--parseable",
              "-p"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "toposort",
            "label": "Topological order",
            "type": "boolean",
            "option": [
              "--toposort"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "graph",
            "label": "Dependency graph",
            "type": "boolean",
            "option": [
              "--graph"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "ls",
            "label": "List",
            "fields": [
              "long",
              "json"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "json",
              "long"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "parseable",
              "toposort",
              "graph"
            ]
          }
        ]
      }
    ]
  }
}
