{
  "id": "bit",
  "name": "Bit",
  "description": "Build and share composable software with components.",
  "homepage": "https://bit.dev",
  "executables": [
    "bit"
  ],
  "commands": {
    "format": 1,
    "label": "Bit workspace",
    "description": "Common Bit workspace jobs.",
    "quality": "ai-draft",
    "base": "fig:bit",
    "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/bit.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "status"
        ],
        "label": "Workspace status",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/bit.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "json",
            "label": "JSON output",
            "type": "boolean",
            "option": [
              "--json",
              "-j"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "verbose",
            "label": "Verbose",
            "type": "boolean",
            "option": [
              "--verbose"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "strict",
            "label": "Fail when issues are found",
            "type": "boolean",
            "option": [
              "--strict"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "status",
            "label": "Show status",
            "fields": [
              "json",
              "verbose"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "json",
              "verbose",
              "strict"
            ]
          }
        ]
      },
      {
        "path": [
          "tag"
        ],
        "label": "Tag components",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/bit.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "patterns",
            "label": "Component patterns",
            "description": "Leave empty to tag all new and modified components.",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "message",
            "label": "Message",
            "type": "string",
            "option": [
              "--message",
              "-m"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "ver",
            "label": "Version",
            "type": "string",
            "option": [
              "--ver",
              "-v"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "patch",
            "label": "Patch bump",
            "type": "boolean",
            "option": [
              "--patch",
              "-p"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "minor",
            "label": "Minor bump",
            "type": "boolean",
            "option": [
              "--minor"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "major",
            "label": "Major bump",
            "type": "boolean",
            "option": [
              "--major"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "skip_tests",
            "label": "Skip tests",
            "type": "boolean",
            "option": [
              "--skip-tests"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "unmodified",
            "label": "Include unmodified components",
            "type": "boolean",
            "option": [
              "--unmodified",
              "-u"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "tag",
            "label": "Tag with a message",
            "fields": [
              "patterns",
              "message",
              "patch",
              "minor",
              "major"
            ],
            "required": [
              "message"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "patterns",
              "message",
              "ver",
              "patch",
              "minor",
              "major"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "skip_tests",
              "unmodified"
            ]
          }
        ]
      },
      {
        "path": [
          "import"
        ],
        "label": "Import components",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/bit.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "patterns",
            "label": "Component IDs or patterns",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "override",
            "label": "Override local changes",
            "type": "boolean",
            "option": [
              "--override",
              "-O"
            ],
            "effect": "overwrite",
            "sources": [
              "fig"
            ]
          },
          {
            "id": "dependencies",
            "label": "Import dependencies",
            "type": "boolean",
            "option": [
              "--dependencies"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "skip_install",
            "label": "Skip dependency installation",
            "type": "boolean",
            "option": [
              "--skip-dependency-installation"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "import",
            "label": "Import components",
            "fields": [
              "patterns",
              "dependencies"
            ],
            "required": [
              "patterns"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "patterns",
              "dependencies",
              "skip_install",
              "override"
            ]
          }
        ]
      },
      {
        "path": [
          "export"
        ],
        "label": "Export components",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/bit.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "patterns",
            "label": "Component patterns",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "all",
            "label": "Export all components",
            "type": "boolean",
            "option": [
              "--all"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "eject",
            "label": "Eject to npm package",
            "description": "Remove the component from the workspace and install it as a regular npm package.",
            "type": "boolean",
            "option": [
              "--eject",
              "-e"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "export",
            "label": "Export staged components",
            "fields": [
              "patterns",
              "eject"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "patterns",
              "all",
              "eject"
            ]
          }
        ]
      }
    ]
  }
}
