{
  "id": "pass",
  "name": "pass",
  "homepage": "https://www.passwordstore.org/",
  "description": "Stores, retrieves, generates, and synchronizes passwords securely.",
  "executables": [
    "pass"
  ],
  "dotfiles": {
    "paths": [],
    "exclude": [],
    "secret": [
      "~/.password-store/"
    ]
  },
  "commands": {
    "format": 1,
    "label": "Password store",
    "description": "Show, generate or insert a password in the password store. Initialising the store, git, edit, copy/move and grep are left out.",
    "quality": "ai-draft",
    "base": "fig:pass",
    "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/pass.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "pass_name",
        "label": "Password name",
        "description": "Leave empty to list the whole store.",
        "type": "string",
        "position": 0,
        "sources": [
          "fig"
        ]
      },
      {
        "id": "clip",
        "label": "Copy to clipboard",
        "type": "boolean",
        "option": [
          "--clip",
          "-c"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "qrcode",
        "label": "Show as QR code",
        "type": "boolean",
        "option": [
          "--qrcode",
          "-q"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "show",
        "label": "Show a password",
        "fields": [
          "pass_name",
          "clip",
          "qrcode"
        ],
        "required": [
          "pass_name"
        ]
      },
      {
        "id": "copy",
        "label": "Copy to clipboard",
        "set": {
          "clip": [
            true
          ]
        },
        "fields": [
          "pass_name",
          "clip"
        ],
        "required": [
          "pass_name"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "pass_name",
          "clip",
          "qrcode"
        ]
      }
    ],
    "subcommand": [
      {
        "path": [
          "generate"
        ],
        "label": "Generate a password",
        "description": "Create a new random password and store it under the given name.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pass.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "pass_name",
            "label": "Password name",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "pass_length",
            "label": "Length",
            "type": "integer",
            "position": 1,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_symbols",
            "label": "Alphanumeric only",
            "type": "boolean",
            "option": [
              "--no-symbols",
              "-n"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "clip",
            "label": "Copy to clipboard",
            "type": "boolean",
            "option": [
              "--clip",
              "-c"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "in_place",
            "label": "Replace first line only",
            "type": "boolean",
            "option": [
              "--in-place",
              "-i"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "force",
            "label": "Overwrite existing",
            "type": "boolean",
            "option": [
              "--force",
              "-f"
            ],
            "effect": "overwrite",
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "generate",
            "label": "Generate and copy",
            "set": {
              "clip": [
                true
              ]
            },
            "fields": [
              "pass_name",
              "pass_length",
              "no_symbols",
              "clip",
              "in_place",
              "force"
            ],
            "required": [
              "pass_name"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "pass_name",
              "pass_length",
              "no_symbols",
              "clip",
              "in_place"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "force"
            ]
          }
        ]
      },
      {
        "path": [
          "insert"
        ],
        "label": "Insert a password",
        "description": "Store a password you type in.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pass.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "pass_name",
            "label": "Password name",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "multi_line",
            "label": "Multi-line entry",
            "type": "boolean",
            "option": [
              "--multi-line",
              "-m"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "echo",
            "label": "Echo input",
            "type": "boolean",
            "option": [
              "--echo",
              "-e"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "force",
            "label": "Overwrite without prompt",
            "type": "boolean",
            "option": [
              "--force",
              "-f"
            ],
            "effect": "overwrite",
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "insert",
            "label": "Insert one line",
            "fields": [
              "pass_name",
              "multi_line",
              "echo",
              "force"
            ],
            "required": [
              "pass_name"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "pass_name",
              "multi_line",
              "echo",
              "force"
            ]
          }
        ]
      }
    ]
  }
}
