48 lines
1.1 KiB
Markdown
48 lines
1.1 KiB
Markdown
---
|
|
id: 6aa882c2-c6bf-4381-a38c-288eec3047f4
|
|
type: configuration
|
|
title: "tea CLI always requires --repo flag (auto-detection broken)"
|
|
tags: [claude-code, gitea, tea-cli, configuration, cli]
|
|
importance: 0.6
|
|
confidence: 0.8
|
|
created: "2026-02-20T03:56:49.639350+00:00"
|
|
updated: "2026-02-20T03:56:49.639350+00:00"
|
|
---
|
|
|
|
## Problem
|
|
|
|
The `tea` CLI cannot auto-detect the repository from git remote URLs. Without `--repo`, commands fail with:
|
|
|
|
```
|
|
path segment [0] is empty
|
|
```
|
|
|
|
## Fix
|
|
|
|
All `tea` CLI commands must include `--repo owner/name` explicitly.
|
|
|
|
## Updated Examples
|
|
|
|
```bash
|
|
# List PRs
|
|
tea pulls list --repo cal/major-domo-bot
|
|
|
|
# Create PR
|
|
tea pulls create --repo cal/major-domo-bot --head feature/name --base main --title "Title" --description "Desc"
|
|
|
|
# List issues
|
|
tea issues list --repo cal/major-domo-bot
|
|
```
|
|
|
|
## Common Repos (updated list)
|
|
|
|
- `cal/major-domo-database`
|
|
- `cal/major-domo-bot`
|
|
- `cal/major-domo-v2` ← added
|
|
- `cal/paper-dynasty`
|
|
- `cal/paper-dynasty-database`
|
|
|
|
## Scope
|
|
|
|
Global — applies to all projects using Gitea at https://git.manticorum.com (authenticated as `cal@homelab`).
|