{
  "id": "rojo",
  "name": "Rojo",
  "description": "Project management tool for Roblox development.",
  "homepage": "https://rojo.space",
  "executables": [
    "rojo"
  ],
  "commands": {
    "format": 1,
    "label": "Rojo",
    "description": "Build a model or place file from a Rojo project. serve, upload and sourcemap are not covered.",
    "quality": "ai-draft",
    "base": "fig:rojo",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "src",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/rojo.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "build"
        ],
        "label": "Build a place or model file",
        "description": "Generate an .rbxm/.rbxl/.rbxmx/.rbxlx file from a project.",
        "source": [
          {
            "id": "src",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/rojo.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "project",
            "label": "Project",
            "type": "path",
            "position": 0,
            "path": {
              "kind": "any",
              "role": "input"
            },
            "sources": [
              "src"
            ]
          },
          {
            "id": "output",
            "label": "Output file",
            "description": "Should end in .rbxm, .rbxl, .rbxmx or .rbxlx.",
            "type": "path",
            "option": [
              "--output",
              "-o"
            ],
            "path": {
              "kind": "file",
              "role": "output"
            },
            "effect": "overwrite",
            "sources": [
              "src"
            ]
          },
          {
            "id": "watch",
            "label": "Rebuild on changes",
            "type": "boolean",
            "option": [
              "--watch"
            ],
            "sources": [
              "src"
            ]
          }
        ],
        "task": [
          {
            "id": "build",
            "label": "Build",
            "fields": [
              "project",
              "output"
            ],
            "required": [
              "output"
            ]
          },
          {
            "id": "watch",
            "label": "Build and watch",
            "fields": [
              "project",
              "output",
              "watch"
            ],
            "required": [
              "output"
            ],
            "set": {
              "watch": [
                true
              ]
            }
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "project",
              "output",
              "watch"
            ]
          }
        ]
      }
    ]
  }
}
