{
  "description": "Show file info or download from Google Drive. Account setup, uploads and exports are left out.",
  "name": "gdrive",
  "subcommands": [
    {
      "name": "files",
      "subcommands": [
        {
          "name": "info",
          "description": "Show file info",
          "args": [
            {
              "name": "file_id",
              "description": "The ID printed by gdrive files list.",
              "isOptional": true
            }
          ]
        },
        {
          "name": "download",
          "description": "Binary files only; Google Docs files need the export command.",
          "options": [
            {
              "names": [
                "--recursive"
              ],
              "description": "Download a directory"
            }
          ],
          "args": [
            {
              "name": "file_id",
              "isOptional": true
            }
          ]
        }
      ]
    }
  ]
}
