id = "wing" name = "wing" description = "Wing cloud programming language toolchain." executables = ["wing"] [commands] format = 1 label = "Wing" description = "Compile a Wing program; run and upgrade are not included." quality = "ai-draft" base = "fig:wing" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.subcommand]] path = ["compile"] label = "Compile a program" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/wing.ts" license = "MIT" [[commands.subcommand.field]] id = "entrypoint" label = "Entrypoint (.w)" type = "path" position = 0 path = { kind = "file", role = "input" } sources = ["fig"] [[commands.subcommand.field]] id = "out_dir" label = "Output directory" type = "path" option = ["--out-dir", "-o"] path = { kind = "directory", role = "output" } sources = ["fig"] [[commands.subcommand.field]] id = "target" label = "Target" type = "enum" option = ["--target", "-t"] choices = [{ value = "tf-aws", label = "tf-aws" }, { value = "sim", label = "sim" }] sources = ["fig"] [[commands.subcommand.task]] id = "compile" label = "Compile" fields = ["entrypoint", "out_dir", "target"] required = ["entrypoint"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["entrypoint", "out_dir", "target"]