{
  "name": "idea",
  "description": "InteliJ IDEA cli",
  "subcommands": [
    {
      "name": "diff",
      "description": "Open the diff viewer to see the differences between two specified files",
      "args": [
        {
          "name": "path",
          "template": "filepaths"
        },
        {
          "name": "path2",
          "template": "filepaths"
        },
        {
          "name": "path3-optional",
          "template": "filepaths"
        }
      ]
    },
    {
      "name": "merge",
      "description": "Open the Merge dialog to merge the specified files",
      "args": [
        {
          "name": "path",
          "template": "filepaths"
        },
        {
          "name": "path2",
          "template": "filepaths"
        },
        {
          "name": "base-optional",
          "template": "filepaths"
        }
      ]
    },
    {
      "name": "format",
      "description": "Apply code style formatting to the specified files",
      "options": [
        {
          "names": [
            "-h"
          ],
          "description": "Show help for format command"
        },
        {
          "names": [
            "-m",
            "-mask"
          ],
          "description": "Specify a comma-separated list of file masks that define the files to be processed"
        },
        {
          "names": [
            "-r",
            "-R"
          ],
          "description": "Process specified directories recursively"
        },
        {
          "names": [
            "-s",
            "-settings"
          ],
          "description": "Specify the code style settings file to use for formatting"
        },
        {
          "names": [
            "-allowDefaults"
          ],
          "description": "Use the default code style settings when the code style is not defined for a file or a group of files"
        },
        {
          "names": [
            "-charset"
          ],
          "description": "Preserve encoding and enforce the charset for reading and writing source files"
        },
        {
          "names": [
            "-d",
            "-dry"
          ],
          "description": "Run the formatter in the validation mode"
        }
      ],
      "args": [
        {
          "name": "path...",
          "template": "filepaths"
        }
      ]
    },
    {
      "name": "inspect",
      "description": "Perform code inspection on the specified project",
      "options": [
        {
          "names": [
            "-changes"
          ],
          "description": "Run inspections only on local uncommitted changes"
        },
        {
          "names": [
            "-d"
          ],
          "description": "Specify the full path to the subdirectory if you don't want to inspect the whole project"
        },
        {
          "names": [
            "-format"
          ],
          "description": "Specify the format of the output file with inspection results"
        },
        {
          "names": [
            "-v"
          ],
          "description": "Set the verbosity level of the output"
        }
      ],
      "args": [
        {
          "name": "project",
          "template": "folders"
        },
        {
          "name": "inspection-profile",
          "template": "filepaths"
        },
        {
          "name": "output",
          "template": "filepaths"
        }
      ]
    },
    {
      "name": "installPlugins",
      "description": "Install plugins by plugin ID from JetBrains Marketplace or a custom plugin repository",
      "args": [
        {
          "name": "plugin-id"
        },
        {
          "name": "repository-url "
        }
      ]
    }
  ],
  "options": [
    {
      "names": [
        "nosplash"
      ],
      "description": "Do not show the splash screen when loading InteliJ IDEA"
    },
    {
      "names": [
        "dontReopenProjects"
      ],
      "description": "Do not reopen projects and show the welcome screen"
    },
    {
      "names": [
        "disableNonBundledPlugins"
      ],
      "description": "Do not load manually installed plugins"
    },
    {
      "names": [
        "--wait"
      ],
      "description": "Wait for the files to be closed before returning to the command prompt"
    }
  ],
  "args": [
    {
      "name": "path",
      "template": "filepaths"
    }
  ]
}
