{
  "name": "bw",
  "subcommands": [
    {
      "name": "login",
      "description": "Log into a user account",
      "options": [
        {
          "names": [
            "--method"
          ],
          "description": "Two-step login method",
          "takes_arg": true,
          "arg": {
            "name": "method",
            "description": "Authenticator = 0, Email = 1, YubiKey = 3",
            "suggestions": [
              "0",
              "1",
              "3"
            ]
          }
        },
        {
          "names": [
            "--code"
          ],
          "description": "Two-step login code",
          "takes_arg": true,
          "arg": {
            "name": "code",
            "description": "Valid TOTP Code"
          }
        },
        {
          "names": [
            "--sso"
          ],
          "description": "Log in with Single-Sign On"
        },
        {
          "names": [
            "--apikey"
          ],
          "description": "Log in with an Api Key"
        },
        {
          "names": [
            "--passwordenv"
          ],
          "description": "Environment variable storing your password",
          "takes_arg": true,
          "arg": {
            "name": "passwordenv",
            "description": "Environmental Variable Name"
          }
        },
        {
          "names": [
            "--passwordfile"
          ],
          "description": "Path to a file containing your password as its first line",
          "takes_arg": true,
          "arg": {
            "name": "passwordfile",
            "description": "Path to a file containing your password",
            "template": "filepaths"
          }
        },
        {
          "names": [
            "--check"
          ],
          "description": "Check login status"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for login command"
        }
      ],
      "args": [
        {
          "name": "email",
          "description": "Email Address of Bitwarden Account"
        },
        {
          "name": "password",
          "description": "Master Password of Bitwarden Vault"
        }
      ]
    },
    {
      "name": "logout",
      "description": "Log out of the current user account",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for logout command"
        }
      ]
    },
    {
      "name": "lock",
      "description": "Lock the vault and destroy active session keys",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for lock command"
        }
      ]
    },
    {
      "name": "unlock",
      "description": "Unlock the vault and return a new session key",
      "options": [
        {
          "names": [
            "--check"
          ],
          "description": "Check lock status"
        },
        {
          "names": [
            "--passwordenv"
          ],
          "description": "Supply an environment variable storing your password",
          "takes_arg": true,
          "arg": {
            "name": "passwordenv",
            "description": "Environmental variable containing your password"
          }
        },
        {
          "names": [
            "--passwordfile"
          ],
          "description": "Path to a file containing your password as its first line",
          "takes_arg": true,
          "arg": {
            "name": "passwordfile",
            "description": "File containing your password",
            "template": "filepaths"
          }
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for unlock command"
        }
      ],
      "args": [
        {
          "name": "password",
          "description": "Master Password for the Vault to be unlocked"
        }
      ]
    },
    {
      "name": "sync",
      "description": "Pull the latest vault data from server",
      "options": [
        {
          "names": [
            "-f",
            "--force"
          ],
          "description": "Force a full sync"
        },
        {
          "names": [
            "--last"
          ],
          "description": "Show details of the last sync"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for sync command"
        }
      ]
    },
    {
      "name": "generate",
      "description": "Generate a password/passphrase",
      "subcommands": [
        {
          "name": "-p",
          "aliases": [
            "--passphrase"
          ],
          "description": "Generate a passphrase",
          "options": [
            {
              "names": [
                "--words"
              ],
              "description": "Number of words to include in passphrase",
              "takes_arg": true,
              "arg": {
                "name": "Number of words",
                "description": "Number of words to include in passphrase"
              }
            },
            {
              "names": [
                "-c",
                "--capitalize"
              ],
              "description": "Title case passphrase"
            },
            {
              "names": [
                "--separator"
              ],
              "description": "Define word separator",
              "takes_arg": true,
              "arg": {
                "name": "separator",
                "description": "Character to delineate words in generated passphrase"
              }
            },
            {
              "names": [
                "--includeNumber"
              ],
              "description": "Include a number in output"
            }
          ]
        }
      ],
      "options": [
        {
          "names": [
            "-u",
            "--uppercase"
          ],
          "description": "Include uppercase characters"
        },
        {
          "names": [
            "-l",
            "--lowercase"
          ],
          "description": "Include lowercase characters"
        },
        {
          "names": [
            "-n",
            "--number"
          ],
          "description": "Include numeric characters"
        },
        {
          "names": [
            "-s",
            "--special"
          ],
          "description": "Include special characters"
        },
        {
          "names": [
            "--length"
          ],
          "description": "Define password length",
          "takes_arg": true,
          "arg": {
            "name": "length",
            "description": "Output length"
          }
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for generate command"
        }
      ]
    },
    {
      "name": "encode",
      "description": "Base 64 encode stdin",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for encode command"
        }
      ]
    },
    {
      "name": "config",
      "description": "Configure CLI settings",
      "options": [
        {
          "names": [
            "--web-vault"
          ],
          "description": "Provides a custom web vault URL that differs from the base URL",
          "takes_arg": true,
          "arg": {
            "name": "url",
            "description": "URL for a self-hosted Bitwarden Server"
          }
        },
        {
          "names": [
            "--api"
          ],
          "description": "Provides a custom API URL that differs from the base URL",
          "takes_arg": true,
          "arg": {
            "name": "url",
            "description": "API URL for a self-hosted Bitwarden Server"
          }
        },
        {
          "names": [
            "--identity"
          ],
          "description": "Provides a custom identity URL that differs from the base URL",
          "takes_arg": true,
          "arg": {
            "name": "url",
            "description": "Custom Identity URL that differs from the base URL"
          }
        },
        {
          "names": [
            "--icons"
          ],
          "description": "Provides a custom icon service URL that differs from the base URL",
          "takes_arg": true,
          "arg": {
            "name": "url",
            "description": "Custom icon service URL that differs from the base URL"
          }
        },
        {
          "names": [
            "--notifications"
          ],
          "description": "Provides a custom notifications URL that differs from the base URL",
          "takes_arg": true,
          "arg": {
            "name": "url",
            "description": "Custom notifications URL that differs from the base URL"
          }
        },
        {
          "names": [
            "--events"
          ],
          "description": "Provides a custom events URL that differs from the base URL",
          "takes_arg": true,
          "arg": {
            "name": "url",
            "description": "Custom events URL that differs from the base URL"
          }
        },
        {
          "names": [
            "--key-connector"
          ],
          "description": "Provides the URL for your Key Connector server",
          "takes_arg": true,
          "arg": {
            "name": "url",
            "description": "Custom Key Connector URL that differs from the base URL"
          }
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the config command"
        }
      ],
      "args": [
        {
          "name": "setting",
          "description": "Setting to configure",
          "suggestions": [
            "server"
          ]
        },
        {
          "name": "value",
          "description": "Value to set"
        }
      ]
    },
    {
      "name": "update",
      "description": "Check for updates",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for update command"
        }
      ]
    },
    {
      "name": "completion",
      "description": "Generate shell completions",
      "options": [
        {
          "names": [
            "--shell"
          ],
          "description": "Shell to generate completions for",
          "takes_arg": true,
          "arg": {
            "name": "shell",
            "description": "Shell to generate completions for",
            "suggestions": [
              "zsh"
            ]
          }
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for completion command"
        }
      ]
    },
    {
      "name": "status",
      "description": "Show server details, last sync time & date, user information, and vault status",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for status command"
        }
      ]
    },
    {
      "name": "serve",
      "description": "Start a RESTful API webserver",
      "options": [
        {
          "names": [
            "--hostname"
          ],
          "description": "The hostname to bind your API webserver to",
          "takes_arg": true,
          "arg": {
            "name": "hostname"
          }
        },
        {
          "names": [
            "--port"
          ],
          "description": "The port to run your API webserver on",
          "takes_arg": true,
          "arg": {
            "name": "port"
          }
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for serve command"
        }
      ]
    },
    {
      "name": "list",
      "description": "Retrieves an array of objects (items, folders, collections, org-collections, org-members, organizations) from your Vault",
      "options": [
        {
          "names": [
            "--search"
          ],
          "description": "Perform a search on the listed objects",
          "takes_arg": true,
          "arg": {
            "name": "search"
          }
        },
        {
          "names": [
            "--url"
          ],
          "description": "Filter items of type login with a url-match search",
          "takes_arg": true,
          "arg": {
            "name": "url"
          }
        },
        {
          "names": [
            "--folderid"
          ],
          "description": "Filter items by folder id",
          "takes_arg": true,
          "arg": {
            "name": "folderid"
          }
        },
        {
          "names": [
            "--collectionid"
          ],
          "description": "Filter items by collection id",
          "takes_arg": true,
          "arg": {
            "name": "collectionid"
          }
        },
        {
          "names": [
            "--organizationid"
          ],
          "description": "Filter items or collections by organization id",
          "takes_arg": true,
          "arg": {
            "name": "organizationid"
          }
        },
        {
          "names": [
            "--trash"
          ],
          "description": "Filter items that are in the trash"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the list command"
        }
      ],
      "args": [
        {
          "name": "object",
          "suggestions": [
            "items",
            "folders",
            "collections",
            "org-collections",
            "org-members",
            "organizations"
          ]
        }
      ]
    },
    {
      "name": "get",
      "description": "Get an object from the vault",
      "subcommands": [
        {
          "name": "template",
          "description": "Type of template to get",
          "args": [
            {
              "name": "object",
              "suggestions": [
                "item",
                "item.field",
                "item.login",
                "item.login.uri",
                "item.card",
                "item.identity",
                "item.securenote",
                "folder",
                "collection",
                "item-collections",
                "org-collection",
                "send.text",
                "send.file"
              ]
            }
          ]
        },
        {
          "name": "attachment",
          "options": [
            {
              "names": [
                "--itemid"
              ],
              "description": "Vault Item ID containing attachment",
              "takes_arg": true,
              "arg": {
                "name": "itemid",
                "description": "ID of Vault Item containing attachment"
              },
              "is_required": true
            },
            {
              "names": [
                "--output"
              ],
              "description": "Output directory and/or filename",
              "takes_arg": true,
              "arg": {
                "name": "output",
                "description": "Output directory and/or filename",
                "template": "folders"
              }
            }
          ]
        }
      ],
      "options": [
        {
          "names": [
            "--id"
          ],
          "description": "Exact id of the object",
          "takes_arg": true,
          "arg": {
            "name": "id",
            "description": "Object id"
          }
        },
        {
          "names": [
            "--organizationid"
          ],
          "description": "Organization id for an organization object",
          "takes_arg": true,
          "arg": {
            "name": "organizationid",
            "description": "Organization id"
          }
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the get command"
        }
      ],
      "args": [
        {
          "name": "object",
          "description": "Type of object to get from the Vault",
          "suggestions": [
            "item",
            "username",
            "password",
            "uri",
            "totp",
            "exposed",
            "folder",
            "collection"
          ]
        },
        {
          "name": "id",
          "description": "Search term or object's globally unique id"
        }
      ]
    },
    {
      "name": "create",
      "description": "Create an object in the vault",
      "options": [
        {
          "names": [
            "--file"
          ],
          "description": "Path to file for attachment",
          "takes_arg": true,
          "arg": {
            "name": "file",
            "description": "File to attach",
            "template": "filepaths"
          }
        },
        {
          "names": [
            "--itemid"
          ],
          "description": "Attachment's item id",
          "takes_arg": true,
          "arg": {
            "name": "itemid",
            "description": "Item ID"
          }
        },
        {
          "names": [
            "--organizationid"
          ],
          "description": "Organization id for an organization object",
          "takes_arg": true,
          "arg": {
            "name": "organizationid",
            "description": "Organization ID"
          }
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the create command"
        }
      ],
      "args": [
        {
          "name": "object",
          "description": "Object to be created",
          "suggestions": [
            "item",
            "attachment",
            "folder",
            "org-collection"
          ]
        },
        {
          "name": "encodedJson",
          "description": "Encoded Json instead of uploading to Vault"
        }
      ]
    },
    {
      "name": "edit",
      "description": "Edit an object from the vault",
      "options": [
        {
          "names": [
            "--organizationid"
          ],
          "description": "Organization id for an organization object",
          "takes_arg": true,
          "arg": {
            "name": "organizationid",
            "description": "Organization ID"
          }
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the edit command"
        }
      ],
      "args": [
        {
          "name": "object",
          "description": "Type of Vault Object to edit",
          "suggestions": [
            "item",
            "item-collections",
            "folder",
            "org-collection"
          ]
        },
        {
          "name": "id",
          "description": "Object's globally unique id"
        },
        {
          "name": "encodedJson",
          "description": "Encoded json of the object to create"
        }
      ]
    },
    {
      "name": "delete",
      "description": "Delete an object from the vault",
      "options": [
        {
          "names": [
            "--itemid"
          ],
          "description": "Attachment's item id",
          "takes_arg": true,
          "arg": {
            "name": "itemid",
            "description": "Item Id"
          }
        },
        {
          "names": [
            "--organizationid"
          ],
          "description": "Organization id for an organization object",
          "takes_arg": true,
          "arg": {
            "name": "organizationid",
            "description": "Organization Id"
          }
        },
        {
          "names": [
            "-p",
            "--permanent"
          ],
          "description": "Permanently deletes the item instead of soft-deleting it (item only)"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the delete command"
        }
      ],
      "args": [
        {
          "name": "object",
          "description": "Object to delete",
          "suggestions": [
            "item",
            "attachment",
            "folder",
            "org-collection"
          ]
        },
        {
          "name": "id",
          "description": "Unique Vault ID"
        }
      ]
    },
    {
      "name": "restore",
      "description": "Restores an object from the trash",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the restore command"
        }
      ],
      "args": [
        {
          "name": "object"
        },
        {
          "name": "id"
        }
      ]
    },
    {
      "name": "move",
      "description": "Transfers a Vault item to an Organization",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the move command"
        }
      ],
      "args": [
        {
          "name": "id"
        },
        {
          "name": "organizationId"
        },
        {
          "name": "encodedJson"
        }
      ]
    },
    {
      "name": "confirm",
      "description": "Confirm an object to the organization",
      "options": [
        {
          "names": [
            "--organizationid"
          ],
          "description": "Organization id for an organization object",
          "takes_arg": true,
          "arg": {
            "name": "organizationid",
            "description": "Organization ID"
          }
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the confirm command"
        }
      ],
      "args": [
        {
          "name": "object",
          "description": "Valid objects are: org-member"
        },
        {
          "name": "id",
          "description": "Organization id for an organization object"
        }
      ]
    },
    {
      "name": "import",
      "description": "Import vault data from a file",
      "options": [
        {
          "names": [
            "--formats"
          ],
          "description": "List supported file formats"
        },
        {
          "names": [
            "--organizationid"
          ],
          "description": "ID of the organization to import to",
          "takes_arg": true,
          "arg": {
            "name": "organizationid",
            "description": "Organization ID to be imported to"
          }
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the import command"
        }
      ],
      "args": [
        {
          "name": "format",
          "description": "Format of import file",
          "suggestions": [
            "1password1pif",
            "1password1pux",
            "1passwordmaccsv",
            "1passwordwincsv",
            "ascendocsv",
            "avastcsv",
            "avastjson",
            "aviracsv",
            "bitwardencsv",
            "bitwardenjson",
            "blackberrycsv",
            "blurcsv",
            "buttercupcsv",
            "chromecsv",
            "clipperzhtml",
            "codebookcsv",
            "dashlanecsv",
            "dashlanejson",
            "encryptrcsv",
            "enpasscsv",
            "enpassjson",
            "firefoxcsv",
            "fsecurefsk",
            "gnomejson",
            "kasperskytxt",
            "keepass2xml",
            "keepassxcsv",
            "keepercsv",
            "lastpasscsv",
            "logmeoncecsv",
            "meldiumcsv",
            "msecurecsv",
            "mykicsv",
            "nordpasscsv",
            "operacsv",
            "padlockcsv",
            "passboltcsv",
            "passkeepcsv",
            "passmanjson",
            "passpackcsv",
            "passwordagentcsv",
            "passwordbossjson",
            "passworddragonxml",
            "passwordwallettxt",
            "pwsafexml",
            "remembearcsv",
            "roboformcsv",
            "safaricsv",
            "safeincloudxml",
            "saferpasscsv",
            "securesafecsv",
            "splashidcsv",
            "stickypasswordxml",
            "truekeycsv",
            "upmcsv",
            "vivaldicsv",
            "yoticsv",
            "zohovaultcsv"
          ]
        },
        {
          "name": "input",
          "description": "File to be imported",
          "template": "filepaths"
        }
      ]
    },
    {
      "name": "export",
      "description": "Export vault data to a CSV or JSON file",
      "options": [
        {
          "names": [
            "--output"
          ],
          "description": "Set output directory or filename",
          "takes_arg": true,
          "arg": {
            "name": "output",
            "description": "Path to export to",
            "template": "folders"
          }
        },
        {
          "names": [
            "--format"
          ],
          "description": "Export file format",
          "takes_arg": true,
          "arg": {
            "name": "format",
            "description": "Export format",
            "suggestions": [
              "csv",
              "json",
              "encrypted_json"
            ]
          }
        },
        {
          "names": [
            "--password"
          ],
          "description": "Use a password to encrypt instead of your Bitwarden account encryption key. Only applies to the encrypted_json format",
          "takes_arg": true,
          "arg": {
            "name": "password",
            "description": "Password that will encrypt this export"
          }
        },
        {
          "names": [
            "--organizationid"
          ],
          "description": "Enter organization id for an organization",
          "takes_arg": true,
          "arg": {
            "name": "organizationid",
            "description": "Organization id"
          }
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the export command"
        }
      ]
    },
    {
      "name": "share",
      "description": "--DEPRECATED-- Move an item to an organization",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the share command"
        }
      ],
      "args": [
        {
          "name": "id",
          "description": "Object's globally unique ID"
        },
        {
          "name": "organizationId",
          "description": "Organization's globally unique ID"
        },
        {
          "name": "encodedJson",
          "description": "Encoded json of an array of collection ids. Can also be piped into stdin"
        }
      ]
    },
    {
      "name": "send",
      "description": "Work with Bitwarden Sends. A Send can be quickly created using this command or subcommands can be used to fine-tune the Send",
      "subcommands": [
        {
          "name": "list",
          "description": "List all the Sends owned by you",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Display help for the Send command"
            }
          ]
        },
        {
          "name": "template",
          "description": "Get json templates for Send objects",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Display help for the template sub-command"
            }
          ],
          "args": [
            {
              "name": "object",
              "description": "Json template to fetch",
              "suggestions": [
                "send.text",
                "send.file"
              ]
            }
          ]
        },
        {
          "name": "get",
          "description": "Get Sends owned by you",
          "options": [
            {
              "names": [
                "--output"
              ],
              "description": "Output directory or filename for attachment",
              "takes_arg": true,
              "arg": {
                "name": "output",
                "template": "folders"
              }
            },
            {
              "names": [
                "--text"
              ],
              "description": "Specifies to return the text content of a Send"
            },
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Display help for the Send get sub-command"
            }
          ],
          "args": [
            {
              "name": "Send ID",
              "description": "Send ID"
            }
          ]
        },
        {
          "name": "receive",
          "description": "Access a Bitwarden Send from a url",
          "options": [
            {
              "names": [
                "--password"
              ],
              "description": "Password needed to access the Send",
              "takes_arg": true,
              "arg": {
                "name": "password",
                "description": "Password for Send"
              }
            },
            {
              "names": [
                "--passwordenv"
              ],
              "description": "Environment variable storing the Send's password",
              "takes_arg": true,
              "arg": {
                "name": "passwordenv",
                "description": "Environment variable containing Send's password"
              }
            },
            {
              "names": [
                "--passwordfile"
              ],
              "description": "Path to a file containing the Send's password as its first line",
              "takes_arg": true,
              "arg": {
                "name": "passwordfile",
                "description": "File containing Send's password",
                "template": "filepaths"
              }
            },
            {
              "names": [
                "--obj"
              ],
              "description": "Return the Send's json object rather than the Send's content"
            },
            {
              "names": [
                "--output"
              ],
              "description": "Specify a file path to save a File-type Send to",
              "takes_arg": true,
              "arg": {
                "name": "location",
                "description": "Path to save File-type Send",
                "template": "folders"
              }
            },
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Display help for the receive sub-command"
            }
          ],
          "args": [
            {
              "name": "Send URL",
              "description": "URL of Send to download"
            }
          ]
        },
        {
          "name": "create",
          "description": "Create a Send",
          "options": [
            {
              "names": [
                "--file"
              ],
              "description": "File to Send. Can also be specified in parent's JSON",
              "takes_arg": true,
              "arg": {
                "name": "path",
                "description": "Path to file to attach as content",
                "template": "filepaths"
              }
            },
            {
              "names": [
                "--text"
              ],
              "description": "Text to Send. Can also be specified in parent's JSON",
              "takes_arg": true,
              "arg": {
                "name": "text",
                "description": "Text to include as content"
              }
            },
            {
              "names": [
                "--hidden"
              ],
              "description": "Text hidden flag. Valid only with the --text option"
            },
            {
              "names": [
                "--password"
              ],
              "description": "Optional password to access this Send. Can also be specified in JSON",
              "takes_arg": true,
              "arg": {
                "name": "password",
                "description": "Password to secure the Send"
              }
            },
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Display help for the create sub-command"
            }
          ],
          "args": [
            {
              "name": "encodedJson",
              "description": "Encoded Json to be uploaded"
            }
          ]
        },
        {
          "name": "edit",
          "description": "Edit a Send",
          "options": [
            {
              "names": [
                "--itemid"
              ],
              "description": "Overrides the itemId provided in [encodedJson]",
              "takes_arg": true,
              "arg": {
                "name": "itemid",
                "description": "ItemID"
              }
            },
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Display help for the edit sub-command"
            }
          ],
          "args": [
            {
              "name": "encodedJson",
              "description": "Encoded Json"
            }
          ]
        },
        {
          "name": "remove-password",
          "description": "Removes the saved password from a Send",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Display help for the remove-password sub-command"
            }
          ],
          "args": [
            {
              "name": "Send ID",
              "description": "ID of the Send to remove password from"
            }
          ]
        },
        {
          "name": "delete",
          "description": "Delete a Send",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Display help for the delete sub-command"
            }
          ],
          "args": [
            {
              "name": "Send ID",
              "description": "ID of the Send to delete"
            }
          ]
        },
        {
          "name": "help",
          "description": "Display help for the Send command",
          "args": [
            {
              "name": "command"
            }
          ]
        }
      ],
      "options": [
        {
          "names": [
            "-f",
            "--file"
          ],
          "description": "Specifies that <data> is a filepath"
        },
        {
          "names": [
            "-d",
            "--deleteInDays"
          ],
          "description": "The number of days in the future to set deletion date (defaults to 7 if not specified)",
          "takes_arg": true,
          "arg": {
            "name": "days"
          }
        },
        {
          "names": [
            "-a",
            "--maxAccessCount"
          ],
          "description": "The max number of accesses allowed for this Send",
          "takes_arg": true,
          "arg": {
            "name": "amount",
            "description": "Max number of accesses allowed"
          }
        },
        {
          "names": [
            "--hidden"
          ],
          "description": "Hide <data> in web by default. Valid only if --file is not set"
        },
        {
          "names": [
            "-n",
            "--name"
          ],
          "description": "The name of the Send. Defaults to a guid for text Sends and the filename for files",
          "takes_arg": true,
          "arg": {
            "name": "name",
            "description": "Send name"
          }
        },
        {
          "names": [
            "--notes"
          ],
          "description": "Notes to add to the Send",
          "takes_arg": true,
          "arg": {
            "name": "notes",
            "description": "Notes to add to the Send"
          }
        },
        {
          "names": [
            "--fullObject"
          ],
          "description": "Specifies that the full Send object should be returned rather than just the access url"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the Send command"
        }
      ],
      "args": [
        {
          "name": "data",
          "description": "Encoded Json data"
        }
      ]
    },
    {
      "name": "device-approval",
      "description": "Manage device approval requests sent to organizations that use SSO with trusted devices",
      "subcommands": [
        {
          "name": "list",
          "description": "List all pending requests for an organisation",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Display help for the list sub-command"
            },
            {
              "names": [
                "--organizationid"
              ],
              "description": "The organisation id (required)",
              "takes_arg": true,
              "arg": {
                "name": "organizationid",
                "description": "Organisation ID"
              }
            }
          ]
        },
        {
          "name": "approve",
          "description": "Approve a pending request",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Display help for the approve sub-command"
            },
            {
              "names": [
                "requestId"
              ],
              "description": "The id of the request to approve",
              "takes_arg": true,
              "arg": {
                "name": "requestId",
                "description": "The id of the request to approve",
                "is_variadic": true
              }
            },
            {
              "names": [
                "--organizationid"
              ],
              "description": "The organisation id (required)",
              "takes_arg": true,
              "arg": {
                "name": "organizationid",
                "description": "Organisation ID"
              }
            }
          ]
        },
        {
          "name": "approve-all",
          "description": "Approve all pending requests for an organisation",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Display help for the approve-all sub-command"
            },
            {
              "names": [
                "--organizationid"
              ],
              "description": "The organisation id (required)",
              "takes_arg": true,
              "arg": {
                "name": "organizationid",
                "description": "Organisation ID"
              }
            }
          ]
        },
        {
          "name": "deny",
          "description": "Deny a pending request",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Display help for the deny sub-command"
            },
            {
              "names": [
                "requestId"
              ],
              "description": "The id of the request to deny",
              "takes_arg": true,
              "arg": {
                "name": "requestId",
                "description": "The id of the request to approve",
                "is_variadic": true
              }
            },
            {
              "names": [
                "--organizationid"
              ],
              "description": "The organisation id (required)",
              "takes_arg": true,
              "arg": {
                "name": "organizationid",
                "description": "Organisation ID"
              }
            }
          ]
        },
        {
          "name": "deny-all",
          "description": "Deny all pending requests for an organisation",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Display help for the deny-all sub-command"
            },
            {
              "names": [
                "--organizationid"
              ],
              "description": "The organisation id (required)",
              "takes_arg": true,
              "arg": {
                "name": "organizationid",
                "description": "Organisation ID"
              }
            }
          ]
        },
        {
          "name": "help",
          "description": "Display help for command",
          "args": [
            {
              "name": "command"
            }
          ]
        }
      ]
    },
    {
      "name": "receive",
      "description": "Access a Bitwarden Send from a url",
      "options": [
        {
          "names": [
            "--password"
          ],
          "description": "Password needed to access the Send",
          "takes_arg": true,
          "arg": {
            "name": "password",
            "description": "Password for Send"
          }
        },
        {
          "names": [
            "--passwordenv"
          ],
          "description": "Environment variable storing the Send's password",
          "takes_arg": true,
          "arg": {
            "name": "passwordenv",
            "description": "Environment variable containing Send's password"
          }
        },
        {
          "names": [
            "--passwordfile"
          ],
          "description": "Path to a file containing the Send's password as its first line",
          "takes_arg": true,
          "arg": {
            "name": "passwordfile",
            "description": "File containing Send's password",
            "template": "filepaths"
          }
        },
        {
          "names": [
            "--obj"
          ],
          "description": "Return the Send's json object rather than the Send's content"
        },
        {
          "names": [
            "--output"
          ],
          "description": "Specify a file path to save a File-type Send to",
          "takes_arg": true,
          "arg": {
            "name": "location",
            "description": "Path to save File-type Send",
            "template": "folders"
          }
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the receive sub-command"
        }
      ],
      "args": [
        {
          "name": "Send URL",
          "description": "URL of Send to download"
        }
      ]
    },
    {
      "name": "help",
      "description": "Display help for the Bitwarden CLI tool",
      "args": [
        {
          "name": "command",
          "description": "Subcommand to display help for",
          "suggestions": [
            "login",
            "logout",
            "lock",
            "unlock",
            "sync",
            "generate",
            "encode",
            "config",
            "update",
            "completion",
            "status",
            "serve",
            "list",
            "get",
            "create",
            "edit",
            "delete",
            "restore",
            "move",
            "confirm",
            "import",
            "export",
            "share",
            "send",
            "receive",
            "device-approval"
          ]
        }
      ]
    }
  ],
  "options": [
    {
      "names": [
        "--pretty"
      ],
      "description": "Format output. JSON is tabbed with two spaces"
    },
    {
      "names": [
        "--raw"
      ],
      "description": "Return raw output instead of a descriptive message"
    },
    {
      "names": [
        "--response"
      ],
      "description": "Return a JSON formatted version of response output"
    },
    {
      "names": [
        "--cleanexit"
      ],
      "description": "Exit with a success exit code (0) unless an error is thrown"
    },
    {
      "names": [
        "--quiet"
      ],
      "description": "Don't return anything to stdout"
    },
    {
      "names": [
        "--nointeraction"
      ],
      "description": "Do not prompt for interactive user input"
    },
    {
      "names": [
        "--session"
      ],
      "description": "Pass session key instead of reading from env",
      "takes_arg": true,
      "arg": {
        "name": "session",
        "description": "Session Key"
      }
    },
    {
      "names": [
        "-v",
        "--version"
      ],
      "description": "Output BW CLI tool version number"
    },
    {
      "names": [
        "-h",
        "--help"
      ],
      "description": "Display help for command"
    }
  ]
}
