store: tea CLI always requires --repo flag (auto-detection broken)
This commit is contained in:
parent
cfb2b77f93
commit
ae047a24b0
@ -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`).
|
||||||
Loading…
Reference in New Issue
Block a user