{
  "id": "tailwindcss",
  "name": "Tailwind CSS",
  "description": "Command-line tool that compiles Tailwind CSS.",
  "executables": [
    "tailwindcss"
  ],
  "commands": {
    "format": 1,
    "label": "Build CSS",
    "description": "Compile an input CSS file with Tailwind. PostCSS and deprecated purge options are left out.",
    "quality": "ai-draft",
    "base": "fig:tailwindcss",
    "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/tailwindcss.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "input",
        "label": "Input CSS",
        "type": "path",
        "option": [
          "--input",
          "-i"
        ],
        "path": {
          "kind": "file",
          "role": "input",
          "must_exist": true
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "output",
        "label": "Output CSS",
        "type": "path",
        "option": [
          "--output",
          "-o"
        ],
        "path": {
          "kind": "file",
          "role": "output",
          "must_exist": false
        },
        "effect": "overwrite",
        "sources": [
          "fig"
        ]
      },
      {
        "id": "config",
        "label": "Config file",
        "type": "path",
        "option": [
          "--config",
          "-c"
        ],
        "path": {
          "kind": "file",
          "role": "input",
          "must_exist": true
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "content",
        "label": "Content paths",
        "type": "string",
        "option": [
          "--content"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "watch",
        "label": "Watch",
        "type": "boolean",
        "option": [
          "--watch",
          "-w"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "minify",
        "label": "Minify",
        "type": "boolean",
        "option": [
          "--minify",
          "-m"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_autoprefixer",
        "label": "Disable autoprefixer",
        "type": "boolean",
        "option": [
          "--no-autoprefixer"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "build",
        "label": "Build once",
        "fields": [
          "input",
          "output",
          "config",
          "minify"
        ],
        "required": [
          "input",
          "output"
        ]
      },
      {
        "id": "watch",
        "label": "Watch and rebuild",
        "set": {
          "watch": [
            true
          ]
        },
        "lock": [
          "watch"
        ],
        "fields": [
          "input",
          "output",
          "config",
          "watch"
        ],
        "required": [
          "input",
          "output"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "input",
          "output",
          "watch",
          "minify"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "config",
          "content",
          "no_autoprefixer"
        ]
      }
    ]
  }
}
