{
  "id": "tkn",
  "name": "Tekton CLI",
  "description": "Command-line interface for Tekton Pipelines.",
  "executables": [
    "tkn"
  ],
  "commands": {
    "format": 1,
    "label": "Tekton",
    "description": "List and inspect PipelineRuns and Tasks. Creation, deletion, hub and chains commands are left out.",
    "quality": "ai-draft",
    "base": "fig:tkn",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/tkn.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "pr",
          "ls"
        ],
        "label": "List PipelineRuns",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/tkn.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "namespace",
            "label": "Namespace",
            "type": "string",
            "option": [
              "--namespace",
              "-n"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "all_namespaces",
            "label": "All namespaces",
            "type": "boolean",
            "option": [
              "--all-namespaces",
              "-A"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "label",
            "label": "Label selector",
            "type": "string",
            "option": [
              "--label"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "limit",
            "label": "Limit",
            "type": "integer",
            "option": [
              "--limit"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "output",
            "label": "Output format",
            "type": "string",
            "option": [
              "--output",
              "-o"
            ],
            "suggestions": [
              {
                "value": "json",
                "label": "JSON"
              },
              {
                "value": "yaml",
                "label": "YAML"
              },
              {
                "value": "name",
                "label": "Name"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "reverse",
            "label": "Reverse order",
            "type": "boolean",
            "option": [
              "--reverse"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_headers",
            "label": "No headers",
            "type": "boolean",
            "option": [
              "--no-headers"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "list",
            "label": "List in namespace",
            "fields": [
              "namespace",
              "limit"
            ],
            "required": []
          },
          {
            "id": "list_all",
            "label": "List in all namespaces",
            "fields": [
              "all_namespaces",
              "limit"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "namespace",
              "all_namespaces",
              "limit"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "label",
              "output",
              "reverse",
              "no_headers"
            ]
          }
        ]
      },
      {
        "path": [
          "pr",
          "logs"
        ],
        "label": "PipelineRun logs",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/tkn.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "namespace",
            "label": "Namespace",
            "type": "string",
            "option": [
              "--namespace",
              "-n"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "follow",
            "label": "Follow",
            "type": "boolean",
            "option": [
              "--follow",
              "-f"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "last",
            "label": "Last PipelineRun",
            "type": "boolean",
            "option": [
              "--last",
              "-L"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "all",
            "label": "Include init steps",
            "type": "boolean",
            "option": [
              "--all",
              "-a"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "task",
            "label": "Tasks",
            "type": "string",
            "option": [
              "--task",
              "-t"
            ],
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "prefix",
            "label": "Prefix lines",
            "type": "boolean",
            "option": [
              "--prefix"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "timestamps",
            "label": "Timestamps",
            "type": "boolean",
            "option": [
              "--timestamps"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "last",
            "label": "Follow the last run",
            "fields": [
              "namespace",
              "last",
              "follow"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "namespace",
              "last",
              "follow",
              "task"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "all",
              "prefix",
              "timestamps"
            ]
          }
        ]
      },
      {
        "path": [
          "t",
          "ls"
        ],
        "label": "List Tasks",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/tkn.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "namespace",
            "label": "Namespace",
            "type": "string",
            "option": [
              "--namespace",
              "-n"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "all_namespaces",
            "label": "All namespaces",
            "type": "boolean",
            "option": [
              "--all-namespaces",
              "-A"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "output",
            "label": "Output format",
            "type": "string",
            "option": [
              "--output",
              "-o"
            ],
            "suggestions": [
              {
                "value": "json",
                "label": "JSON"
              },
              {
                "value": "yaml",
                "label": "YAML"
              },
              {
                "value": "name",
                "label": "Name"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_headers",
            "label": "No headers",
            "type": "boolean",
            "option": [
              "--no-headers"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "list",
            "label": "List in namespace",
            "fields": [
              "namespace"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "namespace",
              "all_namespaces"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "output",
              "no_headers"
            ]
          }
        ]
      }
    ]
  }
}
