{
  "id": "clion",
  "name": "CLion",
  "homepage": "https://www.jetbrains.com/clion/",
  "description": "A cross-platform IDE for C and C++.",
  "icon": "theSVG:clion",
  "executables": [
    "clion"
  ],
  "dotfiles": {
    "paths": [
      "[appData]/JetBrains/CLion*/"
    ],
    "exclude": [
      "[appData]/JetBrains/CLion*/plugins/"
    ],
    "secret": [
      "[appData]/JetBrains/CLion*/c.kdbx"
    ],
    "self_sync": true
  },
  "commands": {
    "format": 1,
    "label": "Open in CLion",
    "description": "Open a project or file in CLion. diff, merge, format, inspect and plugin installation subcommands are left out.",
    "quality": "ai-draft",
    "base": "fig:clion",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/clion.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "path",
        "label": "Path",
        "description": "Project directory or file to open.",
        "type": "path",
        "position": 0,
        "path": {
          "kind": "any",
          "role": "input",
          "must_exist": true
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "wait",
        "label": "Wait until closed",
        "description": "Wait for the files to be closed before returning to the command prompt.",
        "type": "boolean",
        "option": [
          "--wait"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "nosplash",
        "label": "No splash screen",
        "description": "Do not show the splash screen when loading CLion.",
        "type": "boolean",
        "option": [
          "nosplash"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "dont_reopen",
        "label": "Do not reopen projects",
        "description": "Do not reopen projects and show the welcome screen.",
        "type": "boolean",
        "option": [
          "dontReopenProjects"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "disable_plugins",
        "label": "Disable user plugins",
        "description": "Do not load manually installed plugins.",
        "type": "boolean",
        "option": [
          "disableNonBundledPlugins"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "open",
        "label": "Open a project",
        "fields": [
          "path"
        ],
        "required": [
          "path"
        ]
      },
      {
        "id": "safe",
        "label": "Open without plugins",
        "set": {
          "disable_plugins": [
            true
          ]
        },
        "fields": [
          "path",
          "disable_plugins"
        ],
        "required": []
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "path",
          "wait"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "nosplash",
          "dont_reopen",
          "disable_plugins"
        ]
      }
    ]
  }
}
