id = "argo" name = "Argo Workflows CLI" description = "Command-line client for Argo Workflows." homepage = "https://argo-workflows.readthedocs.io" executables = ["argo"] [commands] format = 1 label = "Argo Workflows" description = "Submit, list, get and delete workflows. Authentication flags are left out." quality = "ai-draft" base = "fig:argo" 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/argo.ts" license = "MIT" [[commands.field]] id = "namespace" label = "Namespace" type = "string" option = ["--namespace", "-n"] sources = ["fig"] [[commands.group]] id = "basic" label = "Basic" fields = ["namespace"] [[commands.subcommand]] path = ["submit"] label = "Submit workflow" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/argo.ts" license = "MIT" [[commands.subcommand.field]] id = "files" label = "Workflow files" type = "path" position = 0 multiple = true path = { kind = "file", role = "input" } sources = ["fig"] [[commands.subcommand.field]] id = "parameter" label = "Parameter (name=value)" type = "string" option = ["--parameter", "-p"] multiple = true sources = ["fig"] [[commands.subcommand.field]] id = "name" label = "Workflow name" type = "string" option = ["--name"] sources = ["fig"] [[commands.subcommand.field]] id = "wait" label = "Wait for completion" type = "boolean" option = ["--wait", "-w"] sources = ["fig"] [[commands.subcommand.field]] id = "watch" label = "Watch" type = "boolean" option = ["--watch"] sources = ["fig"] [[commands.subcommand.field]] id = "log" label = "Stream logs" type = "boolean" option = ["--log"] sources = ["fig"] [[commands.subcommand.field]] id = "dry_run" label = "Client-side dry run" type = "boolean" option = ["--dry-run"] sources = ["fig"] [[commands.subcommand.task]] id = "submit" label = "Submit and watch" fields = ["files", "parameter", "watch"] required = ["files"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["files", "parameter", "name", "wait", "watch", "log", "dry_run"] [[commands.subcommand]] path = ["list"] label = "List workflows" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/argo.ts" license = "MIT" [[commands.subcommand.field]] id = "all_namespaces" label = "All namespaces" type = "boolean" option = ["--all-namespaces", "-A"] sources = ["fig"] [[commands.subcommand.field]] id = "running" label = "Running only" type = "boolean" option = ["--running"] sources = ["fig"] [[commands.subcommand.field]] id = "completed" label = "Completed only" type = "boolean" option = ["--completed"] sources = ["fig"] [[commands.subcommand.field]] id = "output" label = "Output format" type = "enum" option = ["--output", "-o"] choices = [{ value = "name", label = "Name" }, { value = "wide", label = "Wide" }, { value = "yaml", label = "YAML" }, { value = "json", label = "JSON" }] sources = ["fig"] [[commands.subcommand.field]] id = "status" label = "Status filter" type = "string" option = ["--status"] sources = ["fig"] [[commands.subcommand.task]] id = "running" label = "List running" fields = ["running"] required = ["running"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["all_namespaces", "running", "completed", "output", "status"] [[commands.subcommand]] path = ["get"] label = "Get workflow" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/argo.ts" license = "MIT" [[commands.subcommand.field]] id = "workflow" label = "Workflow" type = "string" position = 0 sources = ["fig"] [[commands.subcommand.field]] id = "output" label = "Output format" type = "enum" option = ["--output", "-o"] choices = [{ value = "json", label = "JSON" }, { value = "yaml", label = "YAML" }, { value = "short", label = "Short" }, { value = "wide", label = "Wide" }] sources = ["fig"] [[commands.subcommand.task]] id = "get" label = "Get workflow" fields = ["workflow", "output"] required = ["workflow"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["workflow", "output"] [[commands.subcommand]] path = ["delete"] label = "Delete workflows" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/argo.ts" license = "MIT" [[commands.subcommand.field]] id = "workflow" label = "Workflows" type = "string" position = 0 multiple = true sources = ["fig"] [[commands.subcommand.field]] id = "completed" label = "Completed workflows" type = "boolean" option = ["--completed"] effect = "delete" sources = ["fig"] [[commands.subcommand.field]] id = "older" label = "Older than" type = "string" option = ["--older"] description = "Duration such as 10m, 3h or 1d." sources = ["fig"] [[commands.subcommand.field]] id = "dry_run" label = "Dry run" type = "boolean" option = ["--dry-run"] sources = ["fig"] [[commands.subcommand.task]] id = "preview" label = "Preview deleting completed" fields = ["completed", "dry_run"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["workflow", "completed", "older", "dry_run"]