id = "cicada" name = "Cicada" description = "Write CI/CD pipelines in TypeScript." executables = ["cicada"] [commands] format = 1 label = "Cicada pipelines" description = "Run or create Cicada pipelines." quality = "ai-draft" base = "fig:cicada" 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/cicada.ts" license = "MIT" [[commands.subcommand]] path = ["run"] label = "Run a pipeline" description = "Run a pipeline locally. Custom Dockerfiles and secrets JSON are left out." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/cicada.ts" license = "MIT" [[commands.subcommand.field]] id = "pipeline" label = "Pipeline" type = "path" position = 0 path = { kind = "file", role = "input", must_exist = true, transforms = ["dot_slash_if_dash"] } sources = ["fig"] [[commands.subcommand.field]] id = "secret" label = "Secrets" description = "Names of environment variables to expose as secrets." type = "string" option = ["--secret", "-s"] multiple = true sources = ["fig"] [[commands.subcommand.field]] id = "dotenv" label = ".env file" type = "path" option = ["--dotenv"] path = { kind = "file", role = "input", must_exist = true } sources = ["fig"] [[commands.subcommand.field]] id = "oci_backend" label = "OCI backend" type = "string" option = ["--oci-backend"] suggestions = [{ value = "docker", label = "Docker" }, { value = "podman", label = "Podman" }] sources = ["fig"] [[commands.subcommand.field]] id = "no_dotenv" label = "Skip .env file" type = "boolean" option = ["--no-dotenv"] sources = ["fig"] [[commands.subcommand.field]] id = "no_cache" label = "Disable caching" type = "boolean" option = ["--no-cache"] sources = ["fig"] [[commands.subcommand.task]] id = "run" label = "Run" fields = ["pipeline", "secret", "dotenv"] required = [] [[commands.subcommand.task]] id = "run_fresh" label = "Run without cache" fields = ["pipeline", "no_cache"] required = [] set = { no_cache = [true] } [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["pipeline", "secret", "dotenv"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["oci_backend", "no_dotenv", "no_cache"] [[commands.subcommand]] path = ["new"] label = "Create a pipeline" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/cicada.ts" license = "MIT" [[commands.subcommand.field]] id = "pipeline" label = "Pipeline name" type = "string" position = 0 min = 1 sources = ["fig"] [[commands.subcommand.task]] id = "new" label = "Create" fields = ["pipeline"] required = ["pipeline"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["pipeline"]