id = "eleventy" name = "Eleventy" homepage = "https://www.11ty.dev" description = "A simpler static site generator." executables = ["eleventy"] [commands] format = 1 label = "Build site" description = "Build or serve an Eleventy site. Only flags present in the completion data are offered." quality = "ai-draft" base = "fig:eleventy" 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/eleventy.ts" license = "MIT" [[commands.field]] id = "input" label = "Input folder or file" type = "path" path = { kind = "any", role = "input" } option = ["--input"] sources = ["fig"] [[commands.field]] id = "output" label = "Output folder" type = "path" path = { kind = "directory", role = "output" } option = ["--output"] sources = ["fig"] [[commands.field]] id = "serve" label = "Serve with live reload" type = "boolean" option = ["--serve"] sources = ["fig"] [[commands.field]] id = "port" label = "Port" type = "integer" option = ["--port"] sources = ["fig"] [[commands.field]] id = "watch" label = "Watch for changes" type = "boolean" option = ["--watch"] sources = ["fig"] [[commands.field]] id = "dryrun" label = "Dry run" description = "Do not write any files." type = "boolean" option = ["--dryrun"] sources = ["fig"] [[commands.field]] id = "quiet" label = "Quiet" type = "boolean" option = ["--quiet"] sources = ["fig"] [[commands.field]] id = "formats" label = "Template formats" description = "Comma-separated template types to allow." type = "string" option = ["--formats"] suggestions = [{ value = "md", label = "md" }, { value = "html", label = "html" }, { value = "ejs", label = "ejs" }] sources = ["fig"] [[commands.field]] id = "config" label = "Config file" type = "path" path = { kind = "file", role = "input", must_exist = true } option = ["--config"] sources = ["fig"] [[commands.field]] id = "pathprefix" label = "Path prefix" type = "string" option = ["--pathprefix"] sources = ["fig"] [[commands.task]] id = "build" label = "Build site" fields = ["input", "output"] required = [] [[commands.task]] id = "serve" label = "Serve locally" fields = ["input", "port"] required = [] set = { serve = [true] } [[commands.group]] id = "basic" label = "Basic" fields = ["input", "output", "serve", "port", "watch"] [[commands.group]] id = "advanced" label = "Advanced" fields = ["dryrun", "quiet", "formats", "config", "pathprefix"]