{
  "name": "bw",
  "options": [
    {
      "names": [
        "--pretty"
      ],
      "description": "Format output. JSON is tabbed with two spaces",
      "isPersistent": true,
      "priority": 40
    },
    {
      "names": [
        "--raw"
      ],
      "description": "Return raw output instead of a descriptive message",
      "isPersistent": true,
      "priority": 40
    },
    {
      "names": [
        "--response"
      ],
      "description": "Return a JSON formatted version of response output",
      "isPersistent": true,
      "priority": 40
    },
    {
      "names": [
        "--cleanexit"
      ],
      "description": "Exit with a success exit code (0) unless an error is thrown",
      "isPersistent": true,
      "priority": 40
    },
    {
      "names": [
        "--quiet"
      ],
      "description": "Don't return anything to stdout",
      "isPersistent": true,
      "priority": 40
    },
    {
      "names": [
        "--nointeraction"
      ],
      "description": "Do not prompt for interactive user input",
      "isPersistent": true,
      "priority": 40
    },
    {
      "names": [
        "--session"
      ],
      "description": "Pass session key instead of reading from env",
      "isPersistent": true,
      "priority": 40,
      "args": [
        {
          "name": "session",
          "description": "Session Key"
        }
      ]
    },
    {
      "names": [
        "-v",
        "--version"
      ],
      "description": "Output BW CLI tool version number",
      "priority": 40
    },
    {
      "names": [
        "-h",
        "--help"
      ],
      "description": "Display help for command",
      "priority": 49
    }
  ],
  "subcommands": [
    {
      "name": "login",
      "description": "Log into a user account",
      "options": [
        {
          "names": [
            "--method"
          ],
          "description": "Two-step login method",
          "exclusiveOn": [
            "--sso",
            "--apikey",
            "--check"
          ],
          "args": [
            {
              "name": "method",
              "description": "Authenticator = 0, Email = 1, YubiKey = 3",
              "suggestions": [
                "0",
                "1",
                "3"
              ]
            }
          ]
        },
        {
          "names": [
            "--code"
          ],
          "description": "Two-step login code",
          "exclusiveOn": [
            "--method",
            "--apikey",
            "--check"
          ],
          "args": [
            {
              "name": "code",
              "description": "Valid TOTP Code"
            }
          ]
        },
        {
          "names": [
            "--sso"
          ],
          "description": "Log in with Single-Sign On",
          "exclusiveOn": [
            "--method",
            "--code",
            "--apikey",
            "--passwordenv",
            "--passwordfile",
            "--check"
          ]
        },
        {
          "names": [
            "--apikey"
          ],
          "description": "Log in with an Api Key",
          "exclusiveOn": [
            "--method",
            "--code",
            "--sso",
            "--passwordenv",
            "--passwordfile",
            "--check"
          ]
        },
        {
          "names": [
            "--passwordenv"
          ],
          "description": "Environment variable storing your password",
          "exclusiveOn": [
            "--method",
            "--code",
            "--sso",
            "--apikey",
            "--passwordfile",
            "--check"
          ],
          "args": [
            {
              "name": "passwordenv",
              "description": "Environmental Variable Name"
            }
          ]
        },
        {
          "names": [
            "--passwordfile"
          ],
          "description": "Path to a file containing your password as its first line",
          "exclusiveOn": [
            "--passwordenv",
            "--sso",
            "--apikey",
            "--check"
          ],
          "args": [
            {
              "name": "passwordfile",
              "description": "Path to a file containing your password",
              "template": "filepaths"
            }
          ]
        },
        {
          "names": [
            "--check"
          ],
          "description": "Check login status",
          "exclusiveOn": [
            "--method",
            "--code",
            "--sso",
            "--apikey",
            "--passwordenv",
            "--passwordfile"
          ]
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for login command",
          "priority": 49
        }
      ],
      "args": [
        {
          "name": "email",
          "description": "Email Address of Bitwarden Account",
          "isOptional": true
        },
        {
          "name": "password",
          "description": "Master Password of Bitwarden Vault",
          "isOptional": true
        }
      ]
    },
    {
      "name": "logout",
      "description": "Log out of the current user account",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for logout command",
          "priority": 49
        }
      ]
    },
    {
      "name": "lock",
      "description": "Lock the vault and destroy active session keys",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for lock command",
          "priority": 49
        }
      ]
    },
    {
      "name": "unlock",
      "description": "Unlock the vault and return a new session key",
      "options": [
        {
          "names": [
            "--check"
          ],
          "description": "Check lock status",
          "exclusiveOn": [
            "--passwordenv",
            "--passwordfile"
          ]
        },
        {
          "names": [
            "--passwordenv"
          ],
          "description": "Supply an environment variable storing your password",
          "exclusiveOn": [
            "--passwordfile"
          ],
          "args": [
            {
              "name": "passwordenv",
              "description": "Environmental variable containing your password"
            }
          ]
        },
        {
          "names": [
            "--passwordfile"
          ],
          "description": "Path to a file containing your password as its first line",
          "exclusiveOn": [
            "--passwordenv"
          ],
          "args": [
            {
              "name": "passwordfile",
              "description": "File containing your password",
              "template": "filepaths"
            }
          ]
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for unlock command",
          "priority": 49,
          "exclusiveOn": [
            "--check",
            "--passwordenv",
            "--passwordfile"
          ]
        }
      ],
      "args": [
        {
          "name": "password",
          "description": "Master Password for the Vault to be unlocked",
          "isOptional": true
        }
      ]
    },
    {
      "name": "sync",
      "description": "Pull the latest vault data from server",
      "options": [
        {
          "names": [
            "-f",
            "--force"
          ],
          "description": "Force a full sync",
          "exclusiveOn": [
            "--last"
          ]
        },
        {
          "names": [
            "--last"
          ],
          "description": "Show details of the last sync",
          "exclusiveOn": [
            "--force",
            "-f"
          ]
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for sync command",
          "priority": 49
        }
      ]
    },
    {
      "name": "generate",
      "description": "Generate a password/passphrase",
      "options": [
        {
          "names": [
            "-u",
            "--uppercase"
          ],
          "description": "Include uppercase characters",
          "exclusiveOn": [
            "-p",
            "--passphrase",
            "--words",
            "-c",
            "--capitalize",
            "--separator",
            "--includeNumber",
            "-h",
            "--help"
          ]
        },
        {
          "names": [
            "-l",
            "--lowercase"
          ],
          "description": "Include lowercase characters",
          "exclusiveOn": [
            "-p",
            "--passphrase",
            "--words",
            "-c",
            "--capitalize",
            "--separator",
            "--includeNumber",
            "-h",
            "--help"
          ]
        },
        {
          "names": [
            "-n",
            "--number"
          ],
          "description": "Include numeric characters",
          "exclusiveOn": [
            "-p",
            "--passphrase",
            "--words",
            "-c",
            "--capitalize",
            "--separator",
            "--includeNumber",
            "-h",
            "--help"
          ]
        },
        {
          "names": [
            "-s",
            "--special"
          ],
          "description": "Include special characters",
          "exclusiveOn": [
            "-p",
            "--passphrase",
            "--words",
            "-c",
            "--capitalize",
            "--separator",
            "--includeNumber",
            "-h",
            "--help"
          ]
        },
        {
          "names": [
            "--length"
          ],
          "description": "Define password length",
          "exclusiveOn": [
            "-p",
            "--passphrase",
            "--words",
            "-c",
            "--capitalize",
            "--separator",
            "--includeNumber",
            "-h",
            "--help"
          ],
          "args": [
            {
              "name": "length",
              "description": "Output length"
            }
          ]
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for generate command",
          "priority": 49,
          "exclusiveOn": [
            "-p",
            "--passphrase",
            "--words",
            "-c",
            "--capitalize",
            "--separator",
            "--includeNumber",
            "-u",
            "--uppercase",
            "-l",
            "--lowercase",
            "-n",
            "--number",
            "-s",
            "--special",
            "--length"
          ]
        }
      ],
      "subcommands": [
        {
          "name": "-p",
          "aliases": [
            "--passphrase"
          ],
          "description": "Generate a passphrase",
          "options": [
            {
              "names": [
                "--words"
              ],
              "description": "Number of words to include in passphrase",
              "exclusiveOn": [
                "-u",
                "--uppercase",
                "-l",
                "--lowercase",
                "-n",
                "--number",
                "-s",
                "--special",
                "--length",
                "-h",
                "--help"
              ],
              "args": [
                {
                  "name": "Number of words",
                  "description": "Number of words to include in passphrase"
                }
              ]
            },
            {
              "names": [
                "-c",
                "--capitalize"
              ],
              "description": "Title case passphrase",
              "exclusiveOn": [
                "-u",
                "--uppercase",
                "-l",
                "--lowercase",
                "-n",
                "--number",
                "-s",
                "--special",
                "--length",
                "-h",
                "--help"
              ]
            },
            {
              "names": [
                "--separator"
              ],
              "description": "Define word separator",
              "exclusiveOn": [
                "-u",
                "--uppercase",
                "-l",
                "--lowercase",
                "-n",
                "--number",
                "-s",
                "--special",
                "--length",
                "-h",
                "--help"
              ],
              "args": [
                {
                  "name": "separator",
                  "description": "Character to delineate words in generated passphrase"
                }
              ]
            },
            {
              "names": [
                "--includeNumber"
              ],
              "description": "Include a number in output",
              "exclusiveOn": [
                "-u",
                "--uppercase",
                "-l",
                "--lowercase",
                "-n",
                "--number",
                "-s",
                "--special",
                "--length",
                "-h",
                "--help"
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "encode",
      "description": "Base 64 encode stdin",
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for encode command",
          "priority": 49
        }
      ]
    },
    {
      "name": "config",
      "description": "Configure CLI settings",
      "options": [
        {
          "names": [
            "--web-vault"
          ],
          "description": "Provides a custom web vault URL that differs from the base URL",
          "args": [
            {
              "name": "url",
              "description": "URL for a self-hosted Bitwarden Server"
            }
          ]
        },
        {
          "names": [
            "--api"
          ],
          "description": "Provides a custom API URL that differs from the base URL",
          "args": [
            {
              "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",
          "args": [
            {
              "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",
          "args": [
            {
              "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",
          "args": [
            {
              "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",
          "args": [
            {
              "name": "url",
              "description": "Custom events URL that differs from the base URL"
            }
          ]
        },
        {
          "names": [
            "--key-connector"
          ],
          "description": "Provides the URL for your Key Connector server",
          "args": [
            {
              "name": "url",
              "description": "Custom Key Connector URL that differs from the base URL"
            }
          ]
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the config command",
          "priority": 49
        }
      ],
      "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",
          "priority": 49
        }
      ]
    },
    {
      "name": "completion",
      "description": "Generate shell completions",
      "options": [
        {
          "names": [
            "--shell"
          ],
          "description": "Shell to generate completions for",
          "args": [
            {
              "name": "shell",
              "description": "Shell to generate completions for",
              "suggestions": [
                "zsh"
              ]
            }
          ]
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for completion command",
          "priority": 49
        }
      ]
    },
    {
      "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",
          "priority": 49
        }
      ]
    },
    {
      "name": "serve",
      "description": "Start a RESTful API webserver",
      "options": [
        {
          "names": [
            "--hostname"
          ],
          "description": "The hostname to bind your API webserver to",
          "args": [
            {
              "name": "hostname"
            }
          ]
        },
        {
          "names": [
            "--port"
          ],
          "description": "The port to run your API webserver on",
          "args": [
            {
              "name": "port"
            }
          ]
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for serve command",
          "priority": 49
        }
      ]
    },
    {
      "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",
          "args": [
            {
              "name": "search"
            }
          ]
        },
        {
          "names": [
            "--url"
          ],
          "description": "Filter items of type login with a url-match search",
          "args": [
            {
              "name": "url"
            }
          ]
        },
        {
          "names": [
            "--folderid"
          ],
          "description": "Filter items by folder id",
          "args": [
            {
              "name": "folderid"
            }
          ]
        },
        {
          "names": [
            "--collectionid"
          ],
          "description": "Filter items by collection id",
          "args": [
            {
              "name": "collectionid"
            }
          ]
        },
        {
          "names": [
            "--organizationid"
          ],
          "description": "Filter items or collections by organization id",
          "args": [
            {
              "name": "organizationid"
            }
          ]
        },
        {
          "names": [
            "--trash"
          ],
          "description": "Filter items that are in the trash"
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the list command",
          "priority": 49
        }
      ],
      "args": [
        {
          "name": "object",
          "suggestions": [
            "items",
            "folders",
            "collections",
            "org-collections",
            "org-members",
            "organizations"
          ]
        }
      ]
    },
    {
      "name": "get",
      "description": "Get an object from the vault",
      "options": [
        {
          "names": [
            "--id"
          ],
          "description": "Exact id of the object",
          "args": [
            {
              "name": "id",
              "description": "Object id"
            }
          ]
        },
        {
          "names": [
            "--organizationid"
          ],
          "description": "Organization id for an organization object",
          "args": [
            {
              "name": "organizationid",
              "description": "Organization id"
            }
          ]
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the get command",
          "priority": 49
        }
      ],
      "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"
        }
      ],
      "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",
              "isRequired": true,
              "args": [
                {
                  "name": "itemid",
                  "description": "ID of Vault Item containing attachment"
                }
              ]
            },
            {
              "names": [
                "--output"
              ],
              "description": "Output directory and/or filename",
              "args": [
                {
                  "name": "output",
                  "description": "Output directory and/or filename",
                  "template": "folders"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "create",
      "description": "Create an object in the vault",
      "options": [
        {
          "names": [
            "--file"
          ],
          "description": "Path to file for attachment",
          "args": [
            {
              "name": "file",
              "description": "File to attach",
              "template": "filepaths"
            }
          ]
        },
        {
          "names": [
            "--itemid"
          ],
          "description": "Attachment's item id",
          "args": [
            {
              "name": "itemid",
              "description": "Item ID"
            }
          ]
        },
        {
          "names": [
            "--organizationid"
          ],
          "description": "Organization id for an organization object",
          "args": [
            {
              "name": "organizationid",
              "description": "Organization ID"
            }
          ]
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the create command",
          "priority": 49
        }
      ],
      "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",
          "args": [
            {
              "name": "organizationid",
              "description": "Organization ID"
            }
          ]
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the edit command",
          "priority": 49
        }
      ],
      "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",
          "isOptional": true
        }
      ]
    },
    {
      "name": "delete",
      "description": "Delete an object from the vault",
      "isDangerous": true,
      "options": [
        {
          "names": [
            "--itemid"
          ],
          "description": "Attachment's item id",
          "isDangerous": true,
          "args": [
            {
              "name": "itemid",
              "description": "Item Id"
            }
          ]
        },
        {
          "names": [
            "--organizationid"
          ],
          "description": "Organization id for an organization object",
          "isDangerous": true,
          "args": [
            {
              "name": "organizationid",
              "description": "Organization Id"
            }
          ]
        },
        {
          "names": [
            "-p",
            "--permanent"
          ],
          "description": "Permanently deletes the item instead of soft-deleting it (item only)",
          "isDangerous": true
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the delete command",
          "priority": 49,
          "exclusiveOn": [
            "--itemid",
            "--organizationid",
            "-p",
            "--permanent"
          ]
        }
      ],
      "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",
          "priority": 49
        }
      ],
      "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",
          "priority": 49
        }
      ],
      "args": [
        {
          "name": "id"
        },
        {
          "name": "organizationId"
        },
        {
          "name": "encodedJson",
          "isOptional": true
        }
      ]
    },
    {
      "name": "confirm",
      "description": "Confirm an object to the organization",
      "options": [
        {
          "names": [
            "--organizationid"
          ],
          "description": "Organization id for an organization object",
          "args": [
            {
              "name": "organizationid",
              "description": "Organization ID"
            }
          ]
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the confirm command",
          "priority": 49
        }
      ],
      "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",
          "args": [
            {
              "name": "organizationid",
              "description": "Organization ID to be imported to"
            }
          ]
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the import command",
          "priority": 49
        }
      ],
      "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",
          "args": [
            {
              "name": "output",
              "description": "Path to export to",
              "template": "folders"
            }
          ]
        },
        {
          "names": [
            "--format"
          ],
          "description": "Export file format",
          "args": [
            {
              "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",
          "args": [
            {
              "name": "password",
              "description": "Password that will encrypt this export",
              "isOptional": true
            }
          ]
        },
        {
          "names": [
            "--organizationid"
          ],
          "description": "Enter organization id for an organization",
          "args": [
            {
              "name": "organizationid",
              "description": "Organization id"
            }
          ]
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the export command",
          "priority": 49
        }
      ]
    },
    {
      "name": "share",
      "description": "--DEPRECATED-- Move an item to an organization",
      "isDangerous": true,
      "options": [
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the share command",
          "priority": 55
        }
      ],
      "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",
          "isOptional": true
        }
      ]
    },
    {
      "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",
      "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)",
          "args": [
            {
              "name": "days",
              "isOptional": true
            }
          ]
        },
        {
          "names": [
            "-a",
            "--maxAccessCount"
          ],
          "description": "The max number of accesses allowed for this Send",
          "args": [
            {
              "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",
          "args": [
            {
              "name": "name",
              "description": "Send name"
            }
          ]
        },
        {
          "names": [
            "--notes"
          ],
          "description": "Notes to add to the Send",
          "args": [
            {
              "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",
          "priority": 49
        }
      ],
      "args": [
        {
          "name": "data",
          "description": "Encoded Json data"
        }
      ],
      "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",
              "priority": 49
            }
          ],
          "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",
              "args": [
                {
                  "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",
              "exclusiveOn": [
                "--passwordenv",
                "--passwordfile"
              ],
              "args": [
                {
                  "name": "password",
                  "description": "Password for Send"
                }
              ]
            },
            {
              "names": [
                "--passwordenv"
              ],
              "description": "Environment variable storing the Send's password",
              "exclusiveOn": [
                "--password",
                "--passwordfile"
              ],
              "args": [
                {
                  "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",
              "exclusiveOn": [
                "--passwordenv",
                "--password"
              ],
              "args": [
                {
                  "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",
              "args": [
                {
                  "name": "location",
                  "description": "Path to save File-type Send",
                  "template": "folders"
                }
              ]
            },
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Display help for the receive sub-command",
              "priority": 49
            }
          ],
          "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",
              "exclusiveOn": [
                "--text",
                "--hidden"
              ],
              "args": [
                {
                  "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",
              "exclusiveOn": [
                "--file"
              ],
              "args": [
                {
                  "name": "text",
                  "description": "Text to include as content"
                }
              ]
            },
            {
              "names": [
                "--hidden"
              ],
              "description": "Text hidden flag. Valid only with the --text option",
              "dependsOn": [
                "--text"
              ]
            },
            {
              "names": [
                "--password"
              ],
              "description": "Optional password to access this Send. Can also be specified in JSON",
              "args": [
                {
                  "name": "password",
                  "description": "Password to secure the Send"
                }
              ]
            },
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Display help for the create sub-command",
              "priority": 49
            }
          ],
          "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]",
              "args": [
                {
                  "name": "itemid",
                  "description": "ItemID"
                }
              ]
            },
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Display help for the edit sub-command",
              "priority": 49
            }
          ],
          "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",
              "priority": 49
            }
          ],
          "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",
              "priority": 49
            }
          ],
          "args": [
            {
              "name": "Send ID",
              "description": "ID of the Send to delete"
            }
          ]
        },
        {
          "name": "help",
          "description": "Display help for the Send command",
          "args": [
            {
              "name": "command",
              "isOptional": true
            }
          ]
        }
      ]
    },
    {
      "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",
              "priority": 1
            },
            {
              "names": [
                "--organizationid"
              ],
              "description": "The organisation id (required)",
              "priority": 100,
              "args": [
                {
                  "name": "organizationid",
                  "description": "Organisation ID"
                }
              ]
            }
          ]
        },
        {
          "name": "approve",
          "description": "Approve a pending request",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Display help for the approve sub-command",
              "priority": 49
            },
            {
              "names": [
                "requestId"
              ],
              "description": "The id of the request to approve",
              "args": [
                {
                  "name": "requestId",
                  "description": "The id of the request to approve",
                  "isVariadic": true
                }
              ]
            },
            {
              "names": [
                "--organizationid"
              ],
              "description": "The organisation id (required)",
              "priority": 100,
              "args": [
                {
                  "name": "organizationid",
                  "description": "Organisation ID"
                }
              ]
            }
          ]
        },
        {
          "name": "approve-all",
          "description": "Approve all pending requests for an organisation",
          "isDangerous": true,
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Display help for the approve-all sub-command",
              "priority": 49
            },
            {
              "names": [
                "--organizationid"
              ],
              "description": "The organisation id (required)",
              "priority": 100,
              "args": [
                {
                  "name": "organizationid",
                  "description": "Organisation ID"
                }
              ]
            }
          ]
        },
        {
          "name": "deny",
          "description": "Deny a pending request",
          "options": [
            {
              "names": [
                "-h",
                "--help"
              ],
              "description": "Display help for the deny sub-command",
              "priority": 49
            },
            {
              "names": [
                "requestId"
              ],
              "description": "The id of the request to deny",
              "args": [
                {
                  "name": "requestId",
                  "description": "The id of the request to approve",
                  "isVariadic": true
                }
              ]
            },
            {
              "names": [
                "--organizationid"
              ],
              "description": "The organisation id (required)",
              "priority": 100,
              "args": [
                {
                  "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",
              "priority": 49
            },
            {
              "names": [
                "--organizationid"
              ],
              "description": "The organisation id (required)",
              "priority": 100,
              "args": [
                {
                  "name": "organizationid",
                  "description": "Organisation ID"
                }
              ]
            }
          ]
        },
        {
          "name": "help",
          "description": "Display help for command",
          "args": [
            {
              "name": "command",
              "isOptional": true
            }
          ]
        }
      ]
    },
    {
      "name": "receive",
      "description": "Access a Bitwarden Send from a url",
      "options": [
        {
          "names": [
            "--password"
          ],
          "description": "Password needed to access the Send",
          "exclusiveOn": [
            "--passwordenv",
            "--passwordfile"
          ],
          "args": [
            {
              "name": "password",
              "description": "Password for Send"
            }
          ]
        },
        {
          "names": [
            "--passwordenv"
          ],
          "description": "Environment variable storing the Send's password",
          "exclusiveOn": [
            "--password",
            "--passwordfile"
          ],
          "args": [
            {
              "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",
          "exclusiveOn": [
            "--passwordenv",
            "--password"
          ],
          "args": [
            {
              "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",
          "args": [
            {
              "name": "location",
              "description": "Path to save File-type Send",
              "template": "folders"
            }
          ]
        },
        {
          "names": [
            "-h",
            "--help"
          ],
          "description": "Display help for the receive sub-command",
          "priority": 49
        }
      ],
      "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",
          "isOptional": true,
          "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"
          ]
        }
      ]
    }
  ]
}
