{
  "name": "capacitor",
  "description": "The Capacitor command-line interface (CLI) tool is used to develop Capacitor apps",
  "subcommands": [
    {
      "name": "add",
      "description": "Add a native platform project to your app",
      "args": [
        {
          "name": "platform",
          "suggestions": [
            "android",
            "ios"
          ]
        }
      ]
    },
    {
      "name": "copy",
      "description": "Copy the web app build and Capacitor configuration file into the native platform project. Run this each time you make changes to your web app or change a configuration value",
      "args": [
        {
          "name": "platform",
          "suggestions": [
            "android",
            "ios"
          ]
        }
      ]
    },
    {
      "name": "ls",
      "description": "List all installed Cordova and Capacitor plugins",
      "args": [
        {
          "name": "platform",
          "suggestions": [
            "android",
            "ios"
          ]
        }
      ]
    },
    {
      "name": "open",
      "description": "Opens the native project workspace in the specified native IDE (Xcode for iOS, Android Studio for Android)",
      "args": [
        {
          "name": "platform",
          "suggestions": [
            "android",
            "ios"
          ]
        }
      ]
    },
    {
      "name": "run",
      "description": "Opens the native project workspace in the specified native IDE (Xcode for iOS, Android Studio for Android)",
      "options": [
        {
          "names": [
            "--list"
          ],
          "description": "Print a list of target devices available to the given platform"
        },
        {
          "names": [
            "--target"
          ],
          "description": "Run on a specific target device",
          "takes_arg": true,
          "arg": {
            "name": "target"
          }
        }
      ],
      "args": [
        {
          "name": "platform",
          "suggestions": [
            "android",
            "ios"
          ]
        }
      ]
    },
    {
      "name": "sync",
      "description": "This command runs copy and then update",
      "options": [
        {
          "names": [
            "--deployment"
          ],
          "description": "Podfile.lock won't be deleted and pod install will use --deployment option"
        },
        {
          "names": [
            "--inline"
          ],
          "description": "After syncing, all JS source maps will be inlined allowing for debugging an Android Web View in Chromium based browsers"
        }
      ],
      "args": [
        {
          "name": "platform",
          "suggestions": [
            "android",
            "ios"
          ]
        }
      ]
    },
    {
      "name": "update",
      "description": "Updates the native plugins and dependencies referenced in package.json",
      "options": [
        {
          "names": [
            "--deployment"
          ],
          "description": "Podfile.lock won't be deleted and pod install will use --deployment option"
        }
      ],
      "args": [
        {
          "name": "platform",
          "suggestions": [
            "android",
            "ios"
          ]
        }
      ]
    }
  ],
  "options": [
    {
      "names": [
        "--help",
        "-h"
      ],
      "description": "Output usage information. Can be used with individual commands too"
    },
    {
      "names": [
        "--version",
        "-V"
      ],
      "description": "Output the version number"
    }
  ]
}
