{
  "id": "premake",
  "name": "Premake",
  "description": "Build configuration tool that generates project files and makefiles from Lua scripts.",
  "homepage": "https://premake.github.io",
  "executables": [
    "premake"
  ],
  "commands": {
    "format": 1,
    "label": "Premake",
    "description": "Generate project files from a premake5.lua script, or clean generated files. Other actions (for example older Visual Studio versions) and the interactive and debugger options are not covered.",
    "quality": "ai-draft",
    "base": "fig:premake",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": false,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/premake.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "gmake2"
        ],
        "label": "Generate Makefiles",
        "description": "Generate GNU Makefiles (including Cygwin and MinGW).",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/premake.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "file",
            "label": "premake5.lua file",
            "type": "path",
            "option": [
              "--file"
            ],
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "os",
            "label": "Target OS",
            "type": "string",
            "option": [
              "--os"
            ],
            "suggestions": [
              {
                "value": "linux",
                "label": "Linux"
              },
              {
                "value": "macosx",
                "label": "macOS"
              },
              {
                "value": "windows",
                "label": "Windows"
              },
              {
                "value": "ios",
                "label": "iOS"
              },
              {
                "value": "android",
                "label": "Android"
              },
              {
                "value": "bsd",
                "label": "BSD"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "cc",
            "label": "C/C++ compiler set",
            "type": "string",
            "option": [
              "--cc"
            ],
            "suggestions": [
              {
                "value": "clang",
                "label": "Clang"
              },
              {
                "value": "gcc",
                "label": "GCC"
              },
              {
                "value": "mingw",
                "label": "MinGW"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "fatal",
            "label": "Warnings are errors",
            "type": "boolean",
            "option": [
              "--fatal"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "verbose",
            "label": "Verbose output",
            "type": "boolean",
            "option": [
              "--verbose"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "gmake2",
            "label": "Generate Makefiles",
            "fields": [
              "file",
              "os",
              "cc",
              "fatal",
              "verbose"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "file",
              "os",
              "cc",
              "fatal",
              "verbose"
            ]
          }
        ]
      },
      {
        "path": [
          "xcode4"
        ],
        "label": "Generate Xcode project",
        "description": "Generate Apple Xcode 4 project files.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/premake.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "file",
            "label": "premake5.lua file",
            "type": "path",
            "option": [
              "--file"
            ],
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "os",
            "label": "Target OS",
            "type": "string",
            "option": [
              "--os"
            ],
            "suggestions": [
              {
                "value": "linux",
                "label": "Linux"
              },
              {
                "value": "macosx",
                "label": "macOS"
              },
              {
                "value": "windows",
                "label": "Windows"
              },
              {
                "value": "ios",
                "label": "iOS"
              },
              {
                "value": "android",
                "label": "Android"
              },
              {
                "value": "bsd",
                "label": "BSD"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "cc",
            "label": "C/C++ compiler set",
            "type": "string",
            "option": [
              "--cc"
            ],
            "suggestions": [
              {
                "value": "clang",
                "label": "Clang"
              },
              {
                "value": "gcc",
                "label": "GCC"
              },
              {
                "value": "mingw",
                "label": "MinGW"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "fatal",
            "label": "Warnings are errors",
            "type": "boolean",
            "option": [
              "--fatal"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "verbose",
            "label": "Verbose output",
            "type": "boolean",
            "option": [
              "--verbose"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "xcode4",
            "label": "Generate Xcode project",
            "fields": [
              "file",
              "os",
              "cc",
              "fatal",
              "verbose"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "file",
              "os",
              "cc",
              "fatal",
              "verbose"
            ]
          }
        ]
      },
      {
        "path": [
          "vs2022"
        ],
        "label": "Generate Visual Studio 2022",
        "description": "Generate Visual Studio 2022 project files.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/premake.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "file",
            "label": "premake5.lua file",
            "type": "path",
            "option": [
              "--file"
            ],
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "os",
            "label": "Target OS",
            "type": "string",
            "option": [
              "--os"
            ],
            "suggestions": [
              {
                "value": "linux",
                "label": "Linux"
              },
              {
                "value": "macosx",
                "label": "macOS"
              },
              {
                "value": "windows",
                "label": "Windows"
              },
              {
                "value": "ios",
                "label": "iOS"
              },
              {
                "value": "android",
                "label": "Android"
              },
              {
                "value": "bsd",
                "label": "BSD"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "cc",
            "label": "C/C++ compiler set",
            "type": "string",
            "option": [
              "--cc"
            ],
            "suggestions": [
              {
                "value": "clang",
                "label": "Clang"
              },
              {
                "value": "gcc",
                "label": "GCC"
              },
              {
                "value": "mingw",
                "label": "MinGW"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "fatal",
            "label": "Warnings are errors",
            "type": "boolean",
            "option": [
              "--fatal"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "verbose",
            "label": "Verbose output",
            "type": "boolean",
            "option": [
              "--verbose"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "vs2022",
            "label": "Generate Visual Studio 2022",
            "fields": [
              "file",
              "os",
              "cc",
              "fatal",
              "verbose"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "file",
              "os",
              "cc",
              "fatal",
              "verbose"
            ]
          }
        ]
      },
      {
        "path": [
          "clean"
        ],
        "label": "Clean",
        "description": "Remove all binaries and generated files.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/premake.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "file",
            "label": "premake5.lua file",
            "type": "path",
            "option": [
              "--file"
            ],
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "os",
            "label": "Target OS",
            "type": "string",
            "option": [
              "--os"
            ],
            "suggestions": [
              {
                "value": "linux",
                "label": "Linux"
              },
              {
                "value": "macosx",
                "label": "macOS"
              },
              {
                "value": "windows",
                "label": "Windows"
              },
              {
                "value": "ios",
                "label": "iOS"
              },
              {
                "value": "android",
                "label": "Android"
              },
              {
                "value": "bsd",
                "label": "BSD"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "fatal",
            "label": "Warnings are errors",
            "type": "boolean",
            "option": [
              "--fatal"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "verbose",
            "label": "Verbose output",
            "type": "boolean",
            "option": [
              "--verbose"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "clean",
            "label": "Clean",
            "fields": [
              "file",
              "os",
              "fatal",
              "verbose"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "file",
              "os",
              "fatal",
              "verbose"
            ]
          }
        ]
      }
    ]
  }
}
