id = "coda" name = "Coda Packs CLI" description = "Local development CLI bundled with the Coda Pack SDK." executables = ["coda"] [commands] format = 1 label = "Coda Packs" description = "Build, validate and upload Coda Packs." quality = "ai-draft" base = "fig:coda" 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/coda.ts" license = "MIT" [[commands.subcommand]] path = ["build"] label = "Build a Pack bundle" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/coda.ts" license = "MIT" [[commands.subcommand.field]] id = "pack" label = "Pack file" type = "path" position = 0 min = 1 path = { kind = "file", role = "input", must_exist = true, transforms = ["dot_slash_if_dash"] } description = "Path to the pack.ts file, e.g. src/pack.ts." sources = ["fig"] [[commands.subcommand.task]] id = "build" label = "Build" fields = ["pack"] required = ["pack"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["pack"] [[commands.subcommand]] path = ["validate"] label = "Validate a Pack" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/coda.ts" license = "MIT" [[commands.subcommand.field]] id = "pack" label = "Pack file" type = "path" position = 0 min = 1 path = { kind = "file", role = "input", must_exist = true, transforms = ["dot_slash_if_dash"] } description = "Path to the pack.ts file, e.g. src/pack.ts." sources = ["fig"] [[commands.subcommand.task]] id = "validate" label = "Validate" fields = ["pack"] required = ["pack"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["pack"] [[commands.subcommand]] path = ["upload"] label = "Upload a Pack version" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/coda.ts" license = "MIT" [[commands.subcommand.field]] id = "pack" label = "Pack file" type = "path" position = 0 min = 1 path = { kind = "file", role = "input", must_exist = true, transforms = ["dot_slash_if_dash"] } description = "Path to the pack.ts file, e.g. src/pack.ts." effect = "overwrite" sources = ["fig"] [[commands.subcommand.task]] id = "upload" label = "Upload" fields = ["pack"] required = ["pack"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["pack"] [[commands.subcommand]] path = ["execute"] label = "Execute a formula" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/coda.ts" license = "MIT" [[commands.subcommand.field]] id = "pack" label = "Pack file" type = "path" position = 0 min = 1 path = { kind = "file", role = "input", must_exist = true, transforms = ["dot_slash_if_dash"] } description = "Path to the pack.ts file, e.g. src/pack.ts." sources = ["fig"] [[commands.subcommand.field]] id = "formula" label = "Formula name" type = "string" position = 1 min = 1 sources = ["fig"] [[commands.subcommand.field]] id = "params" label = "Formula arguments" type = "string" position = 2 multiple = true sources = ["fig"] [[commands.subcommand.field]] id = "dynamic_url" label = "Dynamic sync table URL" type = "url" option = ["--dynamicUrl"] sources = ["fig"] [[commands.subcommand.task]] id = "execute" label = "Execute" fields = ["pack", "formula", "params"] required = ["pack", "formula"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["pack", "formula", "params"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["dynamic_url"]