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 } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/tailwindcss.ts" license = "MIT" [[commands.field]] id = "input" label = "Input CSS" type = "path" option = ["--input", "-i"] path = { kind = "file", role = "input", must_exist = true } sources = ["fig"] [[commands.field]] id = "output" label = "Output CSS" type = "path" option = ["--output", "-o"] path = { kind = "file", role = "output", must_exist = false } effect = "overwrite" sources = ["fig"] [[commands.field]] id = "config" label = "Config file" type = "path" option = ["--config", "-c"] path = { kind = "file", role = "input", must_exist = true } sources = ["fig"] [[commands.field]] id = "content" label = "Content paths" type = "string" option = ["--content"] sources = ["fig"] [[commands.field]] id = "watch" label = "Watch" type = "boolean" option = ["--watch", "-w"] sources = ["fig"] [[commands.field]] id = "minify" label = "Minify" type = "boolean" option = ["--minify", "-m"] sources = ["fig"] [[commands.field]] id = "no_autoprefixer" label = "Disable autoprefixer" type = "boolean" option = ["--no-autoprefixer"] sources = ["fig"] [[commands.task]] id = "build" label = "Build once" fields = ["input", "output", "config", "minify"] required = ["input", "output"] [[commands.task]] id = "watch" label = "Watch and rebuild" set = { watch = [true] } lock = ["watch"] fields = ["input", "output", "config", "watch"] required = ["input", "output"] [[commands.group]] id = "basic" label = "Basic" fields = ["input", "output", "watch", "minify"] [[commands.group]] id = "advanced" label = "Advanced" fields = ["config", "content", "no_autoprefixer"]