AdiKsOnDev / AdiKsOnDev/linear-cli

Add team key resolution for user list command

Offen
#4 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
8
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Support filtering users by team key (e.g., "ENG") in addition to team ID.

**Current behavior:**
`linear user list --team ENG` doesn't filter by team because team key to ID resolution is not implemented (lines 74-76 have a `pass` statement).

**Example usage:**
```bash
linear user list --team ENG
linear user list --team DESIGN
```

**Implementation:**
- Add team key to ID resolution logic (similar to issue.py resolve_team_id)
- Replace `pass` statement with actual resolution
- Call `client.get_teams()` to find team by key
- Pass resolved team_id to `client.get_users()`

**Files to modify:**
- `src/linear_cli/cli/commands/user.py` (list command, lines 74-76)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.