{
  "id": "ykman",
  "name": "YubiKey Manager",
  "homepage": "https://developers.yubico.com/yubikey-manager/",
  "description": "Python library and command line tool for configuring any YubiKey over all USB interfaces.",
  "executables": [
    "ykman"
  ],
  "dotfiles": {
    "paths": [
      "[configHome]/ykman/*.json",
      "[xdgData]/ykman/*.json"
    ],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "YubiKey Manager",
    "description": "Inspect connected YubiKeys. Credential, PIV, OpenPGP, FIDO and OTP management are outside this form.",
    "quality": "ai-draft",
    "base": "fig:ykman",
    "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/ykman.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "info"
        ],
        "label": "YubiKey info",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/ykman.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "check_fips",
            "label": "Check FIPS mode",
            "type": "boolean",
            "option": [
              "--check-fips",
              "-c"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "info",
            "label": "Show device info",
            "fields": [
              "check_fips"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "check_fips"
            ]
          }
        ]
      },
      {
        "path": [
          "list"
        ],
        "label": "List YubiKeys",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/ykman.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "serials",
            "label": "Serial numbers only",
            "type": "boolean",
            "option": [
              "--serials",
              "-s"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "readers",
            "label": "List smart card readers",
            "type": "boolean",
            "option": [
              "--readers",
              "-r"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "list",
            "label": "List devices",
            "fields": [
              "serials",
              "readers"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "serials",
              "readers"
            ]
          }
        ]
      }
    ]
  }
}
