---
name: gitea-issues-list
description: List open Gitea issues with number, title, and description.
version: 0.1.0
author: Hermes
platforms: [linux]
metadata:
  hermes:
    tags: [Gitea, TeaCLI, Issues]
---
# Gitea Issues List

List open issues from a Gitea repository with number, title, and short description using the `tea` CLI. Outputs a clean table format by default.

## When to Use
- List open issues in a Gitea repo
- Get a quick overview of issue index, title, and description snippet
- Default repo is `bitebudget` unless overridden

## Prerequisites
- tea CLI installed at `/opt/data/bin/tea`
- Gitea login configured (`tea login list` to verify)
- Repository access (default: `bitebudget`)

## How to Run
Invoke through the `terminal` tool:

```bash
/opt/data/bin/tea issues list --state open --fields index,title,body --output table --repo bitebudget
```

## Quick Reference
| Command | Purpose |
|---|---|
| `tea issues list --state open` | List open issues |
| `--fields index,title,body` | Select number, title, description |
| `--output table` | Clean table output |
| `--repo bitebudget` | Target repository |
| `--limit 50` | Increase result limit |

## Procedure
1. Run the list command with desired fields and output format
2. For short description, the `body` field shows full text — pipe to `cut` or `awk` for truncation if needed
3. Use `--login <name>` if multiple Gitea logins exist

## Pitfalls
- Default limit is 30 issues; use `--limit` for more
- `body` field contains full description, not truncated
- Requires valid login in `~/.config/tea/config.yml`
- Repo argument can be `owner/repo` or just `repo` if unique

## Verification
Run the command and verify a table with columns `INDEX`, `TITLE`, `BODY` appears showing open issues.
