{
  "id": "bwdc",
  "name": "Bitwarden Directory Connector CLI",
  "description": "Sync users and groups from a directory service to a Bitwarden organization.",
  "homepage": "https://bitwarden.com",
  "executables": [
    "bwdc"
  ],
  "commands": {
    "format": 1,
    "label": "Directory sync",
    "description": "Preview or run a directory sync and read the last sync time. Login and directory settings are left out.",
    "quality": "ai-draft",
    "base": "fig:bwdc",
    "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/bwdc.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "test"
        ],
        "label": "Preview sync",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/bwdc.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "last",
            "label": "Only changes since last sync",
            "type": "boolean",
            "option": [
              "--last"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "test",
            "label": "Preview what would sync",
            "fields": [
              "last"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "last"
            ]
          }
        ]
      },
      {
        "path": [
          "last-sync"
        ],
        "label": "Last sync time",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/bwdc.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "object",
            "label": "Object",
            "type": "enum",
            "position": 0,
            "choices": [
              {
                "value": "users",
                "label": "Users"
              },
              {
                "value": "groups",
                "label": "Groups"
              }
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "last-sync",
            "label": "Show last sync time",
            "fields": [
              "object"
            ],
            "required": [
              "object"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "object"
            ]
          }
        ]
      }
    ]
  }
}
