{
  "id": "lastpass-cli",
  "name": "LastPass CLI",
  "homepage": "https://github.com/lastpass/lastpass-cli",
  "description": "Command line interface for LastPass.",
  "executables": [
    "lpass"
  ],
  "dotfiles": {
    "paths": [],
    "secret": [
      "~/.lpass/",
      "[configHome]/lpass/",
      "[dataHome]/lpass/"
    ]
  },
  "commands": {
    "format": 1,
    "label": "LastPass CLI",
    "description": "Show or list vault entries. Add, edit, delete, export and sharing commands are left out.",
    "quality": "ai-draft",
    "base": "fig:lpass",
    "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/lpass.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "show"
        ],
        "label": "Show an entry",
        "description": "Print an entry or one of its fields; output goes to the terminal unless copied.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/lpass.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "name",
            "label": "Entry name or ID",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "password",
            "label": "Password only",
            "type": "boolean",
            "option": [
              "--password"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "username",
            "label": "Username only",
            "type": "boolean",
            "option": [
              "--username"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "url",
            "label": "URL only",
            "type": "boolean",
            "option": [
              "--url"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "notes",
            "label": "Notes only",
            "type": "boolean",
            "option": [
              "--notes"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "field",
            "label": "Named field",
            "type": "string",
            "option": [
              "--field"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "clip",
            "label": "Copy to clipboard",
            "type": "boolean",
            "option": [
              "--clip",
              "-c"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "json",
            "label": "JSON output",
            "type": "boolean",
            "option": [
              "--json",
              "-j"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "copy-password",
            "label": "Copy password",
            "set": {
              "password": [
                true
              ],
              "clip": [
                true
              ]
            },
            "fields": [
              "name",
              "password",
              "clip"
            ],
            "required": [
              "name"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "name",
              "password",
              "username",
              "url",
              "notes",
              "field",
              "clip",
              "json"
            ]
          }
        ]
      },
      {
        "path": [
          "ls"
        ],
        "label": "List entries",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/lpass.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "group",
            "label": "Group",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "long",
            "label": "Show modification time",
            "type": "boolean",
            "option": [
              "--long",
              "-l"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "group",
              "long"
            ]
          }
        ]
      },
      {
        "path": [
          "generate"
        ],
        "label": "Generate a password",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/lpass.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "name",
            "label": "Entry name or ID",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "length",
            "label": "Length",
            "type": "integer",
            "position": 1,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_symbols",
            "label": "No symbols",
            "type": "boolean",
            "option": [
              "--no-symbols"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "clip",
            "label": "Copy to clipboard",
            "type": "boolean",
            "option": [
              "--clip",
              "-c"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "generate",
            "label": "Generate and save",
            "fields": [
              "name",
              "length",
              "no_symbols",
              "clip"
            ],
            "required": [
              "name",
              "length"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "name",
              "length",
              "no_symbols",
              "clip"
            ]
          }
        ]
      }
    ]
  }
}
