Compare commits

...

2 Commits

2 changed files with 51 additions and 0 deletions

View File

@ -229,3 +229,7 @@ Session size: 17 messages, 5 tool calls
Usage: claude mcp [options] [command]
Configure and manage
## 21:56 - tea CLI always requires --repo flag (auto-detection broken)
- **Type:** configuration
- **Tags:** claude-code, gitea, tea-cli, configuration, cli

View File

@ -0,0 +1,47 @@
---
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`).