{
  "id": "qbs",
  "name": "Qbs",
  "homepage": "https://qbs.io/",
  "description": "An easy-to-use, cross-platform build tool",
  "executables": [
    "qbs"
  ],
  "dotfiles": {
    "paths": [
      "[configHome]/QtProject/qbs/",
      "%APPDATA%/QtProject/qbs/",
      "~/Library/Preferences/qbs/"
    ],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "Qbs",
    "description": "Build a Qbs project. Pass configuration and property overrides (config:debug, cpp.optimization:none) in the extra arguments field. Other qbs commands are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": false,
      "short_attached": false,
      "short_bundles": false
    },
    "subcommand": [
      {
        "path": [
          "build"
        ],
        "label": "Build a project",
        "description": "Build products in one or more configurations.",
        "source": [
          {
            "id": "manual",
            "kind": "manual",
            "url": "https://doc.qt.io/qbs/cli-build.html",
            "revision": "Qbs 3.1.0",
            "evidence": "qbs build [options] [[config:configuration-name] [property:value] ...]\n--all-products\n--build-directory|-d <directory>\n--dry-run|-n\n[--file|-f <file>]\n--jobs|-j <n>\n--keep-going|-k\n--less-verbose|-q\n--log-level <level>\nPossible values of <level> are:\nerror\nwarning\ninfo (default value)\ndebug\ntrace\n--more-verbose|-v\n--no-install\n--products|-p <name>[,<name>...]\n--show-progress\n--clean-install-root\n"
          }
        ],
        "field": [
          {
            "id": "file",
            "label": "Project file",
            "type": "path",
            "option": [
              "--file",
              "-f"
            ],
            "path": {
              "kind": "any",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "manual"
            ]
          },
          {
            "id": "build_directory",
            "label": "Build directory",
            "type": "path",
            "option": [
              "--build-directory",
              "-d"
            ],
            "path": {
              "kind": "directory",
              "role": "output",
              "must_exist": false
            },
            "sources": [
              "manual"
            ]
          },
          {
            "id": "products",
            "label": "Products",
            "description": "Comma-separated product names.",
            "type": "string",
            "option": [
              "--products",
              "-p"
            ],
            "sources": [
              "manual"
            ]
          },
          {
            "id": "jobs",
            "label": "Concurrent jobs",
            "type": "integer",
            "option": [
              "--jobs",
              "-j"
            ],
            "sources": [
              "manual"
            ]
          },
          {
            "id": "all_products",
            "label": "All products",
            "type": "boolean",
            "option": [
              "--all-products"
            ],
            "sources": [
              "manual"
            ]
          },
          {
            "id": "keep_going",
            "label": "Keep going on errors",
            "type": "boolean",
            "option": [
              "--keep-going",
              "-k"
            ],
            "sources": [
              "manual"
            ]
          },
          {
            "id": "dry_run",
            "label": "Dry run",
            "type": "boolean",
            "option": [
              "--dry-run",
              "-n"
            ],
            "sources": [
              "manual"
            ]
          },
          {
            "id": "no_install",
            "label": "Skip install",
            "type": "boolean",
            "option": [
              "--no-install"
            ],
            "sources": [
              "manual"
            ]
          },
          {
            "id": "clean_install_root",
            "label": "Clean install root first",
            "type": "boolean",
            "option": [
              "--clean-install-root"
            ],
            "effect": "delete",
            "sources": [
              "manual"
            ]
          },
          {
            "id": "show_progress",
            "label": "Show progress",
            "type": "boolean",
            "option": [
              "--show-progress"
            ],
            "sources": [
              "manual"
            ]
          },
          {
            "id": "log_level",
            "label": "Log level",
            "type": "enum",
            "option": [
              "--log-level"
            ],
            "choices": [
              {
                "value": "error",
                "label": "Error"
              },
              {
                "value": "warning",
                "label": "Warning"
              },
              {
                "value": "info",
                "label": "Info"
              },
              {
                "value": "debug",
                "label": "Debug"
              },
              {
                "value": "trace",
                "label": "Trace"
              }
            ],
            "sources": [
              "manual"
            ]
          },
          {
            "id": "more_verbose",
            "label": "More verbose",
            "type": "count",
            "option": [
              "--more-verbose",
              "-v"
            ],
            "sources": [
              "manual"
            ]
          },
          {
            "id": "overrides",
            "label": "Configuration and property overrides",
            "description": "For example config:debug cpp.optimization:none.",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "manual"
            ]
          }
        ],
        "task": [
          {
            "id": "build",
            "label": "Build",
            "fields": [
              "file",
              "build_directory",
              "products",
              "jobs",
              "overrides"
            ],
            "required": []
          },
          {
            "id": "debug-build",
            "label": "Debug build",
            "set": {
              "overrides": [
                "config:debug"
              ]
            },
            "fields": [
              "file",
              "build_directory",
              "jobs",
              "overrides"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "file",
              "build_directory",
              "products",
              "jobs",
              "overrides"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "all_products",
              "keep_going",
              "dry_run",
              "no_install",
              "clean_install_root",
              "show_progress",
              "log_level",
              "more_verbose"
            ]
          }
        ]
      }
    ]
  }
}
