{
  "description": "Export your Ente library and manage which accounts and export folders the CLI knows about. Signing in (ente account add) is interactive and left out.",
  "name": "ente",
  "subcommands": [
    {
      "name": "export",
      "description": "Start the export of your Ente library to the configured export directory.",
      "options": [
        {
          "names": [
            "--shared"
          ],
          "description": "On by default."
        },
        {
          "names": [
            "--shared=false"
          ],
          "description": "On by default."
        },
        {
          "names": [
            "--hidden"
          ],
          "description": "On by default."
        },
        {
          "names": [
            "--hidden=false"
          ],
          "description": "On by default."
        },
        {
          "names": [
            "--albums"
          ],
          "description": "Comma-separated album names.",
          "args": {
            "name": "albums",
            "description": "Comma-separated album names.",
            "isOptional": false
          }
        },
        {
          "names": [
            "--exclude-albums"
          ],
          "description": "Comma-separated album names.",
          "args": {
            "name": "exclude_albums",
            "description": "Comma-separated album names.",
            "isOptional": false
          }
        },
        {
          "names": [
            "--emails"
          ],
          "description": "Comma-separated emails to export shared files from.",
          "args": {
            "name": "emails",
            "description": "Comma-separated emails to export shared files from.",
            "isOptional": false
          }
        }
      ]
    },
    {
      "name": "account",
      "subcommands": [
        {
          "name": "update",
          "description": "Change where an account is exported to.",
          "options": [
            {
              "names": [
                "--dir"
              ],
              "description": "Export directory",
              "args": {
                "name": "dir",
                "isOptional": false,
                "template": "folders"
              }
            },
            {
              "names": [
                "--email"
              ],
              "description": "Account email",
              "args": {
                "name": "email",
                "isOptional": false
              }
            },
            {
              "names": [
                "--app"
              ],
              "description": "Defaults to photos.",
              "args": {
                "name": "app",
                "description": "Defaults to photos.",
                "isOptional": false,
                "suggestions": [
                  {
                    "name": "photos",
                    "description": "Photos"
                  },
                  {
                    "name": "auth",
                    "description": "Auth"
                  }
                ]
              }
            }
          ]
        }
      ]
    }
  ]
}
